pub struct SubOrgSetup {
pub name: String,
pub end_user_name: String,
pub end_user_email: Option<String>,
pub authenticator: PasskeyAttestation,
pub rules: Vec<AllowRule>,
}Expand description
One end user’s sub-organization setup: a name, the passkey their wallet is rooted in, and the allow rules the delegated access user is scoped to.
Fields§
§name: StringThe sub-organization’s name, e.g. acme:user-42.
end_user_name: StringThe end user’s name.
end_user_email: Option<String>The end user’s email, when there is one.
authenticator: PasskeyAttestationThe passkey that becomes the root user’s authenticator.
rules: Vec<AllowRule>One EFFECT_ALLOW policy per rule, all scoped to the delegated
access user.
Trait Implementations§
Source§impl Clone for SubOrgSetup
impl Clone for SubOrgSetup
Auto Trait Implementations§
impl Freeze for SubOrgSetup
impl RefUnwindSafe for SubOrgSetup
impl Send for SubOrgSetup
impl Sync for SubOrgSetup
impl Unpin for SubOrgSetup
impl UnsafeUnpin for SubOrgSetup
impl UnwindSafe for SubOrgSetup
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