pub struct Facts {
pub user: Option<String>,
pub node_revoked: bool,
pub is_owner: bool,
pub trusted: bool,
pub membership_role: Option<String>,
}Expand description
What the host knows about the requester, from checks done before (weirdnet-net: the
node cert, the trust list, check_presented for the membership).
Fields§
§user: Option<String>The user the peer resolves to, if its card checked out.
node_revoked: boolThe peer’s node cert is revoked.
is_owner: boolThe user is the resource’s owner.
trusted: boolThe user is on the host’s trust list.
membership_role: Option<String>The role id from a valid, unexpired, unrevoked membership of this resource.
Trait Implementations§
impl Eq for Facts
impl StructuralPartialEq for Facts
Auto Trait Implementations§
impl Forget for Facts
impl Freeze for Facts
impl Move for Facts
impl RefUnwindSafe for Facts
impl Send for Facts
impl Sync for Facts
impl Unpin for Facts
impl UnsafeUnpin for Facts
impl UnwindSafe for Facts
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