pub struct AddMemberCommand {
pub org_prefix: String,
pub member_did: String,
pub role: Role,
pub capabilities: Vec<String>,
pub public_key_hex: String,
}Expand description
Command to add a new member to an organization.
Fields§
§org_prefix: StringKERI method-specific ID of the org (e.g. EOrg1234567890).
member_did: StringFull DID of the member being added (e.g. did:key:z6Mk...).
role: RoleRole to assign.
capabilities: Vec<String>Capability strings to grant (e.g. ["sign_commit"]).
public_key_hex: StringHex-encoded device public key of the signing admin.
Auto Trait Implementations§
impl Freeze for AddMemberCommand
impl RefUnwindSafe for AddMemberCommand
impl Send for AddMemberCommand
impl Sync for AddMemberCommand
impl Unpin for AddMemberCommand
impl UnsafeUnpin for AddMemberCommand
impl UnwindSafe for AddMemberCommand
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