pub struct Steward {
pub principal: PrincipalRef,
pub roles: Vec<StewardRole>,
pub basis: StewardBasis,
}Expand description
One steward in the guardianship commons — a guardian holding one or more StewardRoles. Stewardship
is held in trust, in the child’s interest — it is never ownership of the person.
Fields§
§principal: PrincipalRef§roles: Vec<StewardRole>§basis: StewardBasisTrait Implementations§
Source§impl<'de> Deserialize<'de> for Steward
impl<'de> Deserialize<'de> for Steward
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Steward
impl StructuralPartialEq for Steward
Auto Trait Implementations§
impl Freeze for Steward
impl RefUnwindSafe for Steward
impl Send for Steward
impl Sync for Steward
impl Unpin for Steward
impl UnsafeUnpin for Steward
impl UnwindSafe for Steward
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