pub struct Attribution {
pub source: PrincipalIdentifier,
pub subject: PrincipalIdentifier,
pub resources: Vec<ResourceReference>,
}
Expand description
Holds the list of resources attributed to a Principal (subject) by another Principal (source).
Fields§
§source: PrincipalIdentifier
Principal making the attribution claim.
subject: PrincipalIdentifier
Principal to which the resources are attributed.
resources: Vec<ResourceReference>
List of resources attributed to subject
by source
.
Trait Implementations§
Source§impl Clone for Attribution
impl Clone for Attribution
Source§fn clone(&self) -> Attribution
fn clone(&self) -> Attribution
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<Attribution> for Attribution
impl From<Attribution> for Attribution
Source§fn from(value: Attribution) -> Attribution
fn from(value: Attribution) -> Attribution
Converts to this type from the input type.
Source§impl Into<Attribution> for Attribution
impl Into<Attribution> for Attribution
Source§fn into(self) -> Attribution
fn into(self) -> Attribution
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for Attribution
impl RefUnwindSafe for Attribution
impl Send for Attribution
impl Sync for Attribution
impl Unpin for Attribution
impl UnwindSafe for Attribution
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more