pub struct Person<'a> {
pub login_hint: Option<&'a str>,
pub tenant: Option<&'a str>,
}Available on crate feature
client only.Expand description
Who the agent acts for, as the Person Server knows them: a login_hint,
and the tenant a multi-tenant Person Server is asked under.
Fields§
§login_hint: Option<&'a str>The hint the Person Server’s directory recognises, such as user:sam@acme.example.
tenant: Option<&'a str>The person’s organisation, at a multi-tenant Person Server.
Implementations§
Trait Implementations§
impl<'a> Copy for Person<'a>
Auto Trait Implementations§
impl<'a> Freeze for Person<'a>
impl<'a> RefUnwindSafe for Person<'a>
impl<'a> Send for Person<'a>
impl<'a> Sync for Person<'a>
impl<'a> Unpin for Person<'a>
impl<'a> UnsafeUnpin for Person<'a>
impl<'a> UnwindSafe for Person<'a>
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