pub struct AuthoringDelegation {Show 15 fields
pub version: u32,
pub root_subject: String,
pub root_adoption_digest: [u8; 32],
pub project_id: String,
pub document_id: String,
pub source_id: String,
pub grantor_subject: String,
pub grantor_controller: [u8; 32],
pub grantee_subject: String,
pub grantee_controller: [u8; 32],
pub parent_digest: Option<[u8; 32]>,
pub remaining_depth: u8,
pub actions: Vec<AuthoringAction>,
pub agency: AgencyDelegation,
pub task: TaskDelegation,
}Expand description
Signed consent bytes bind all shared agency/task semantics, source scope and controller associations. This asserted structure is not admitted authority.
Fields§
§version: u32§root_subject: String§root_adoption_digest: [u8; 32]§project_id: String§document_id: String§source_id: String§grantor_subject: String§grantor_controller: [u8; 32]§grantee_subject: String§grantee_controller: [u8; 32]§parent_digest: Option<[u8; 32]>§remaining_depth: u8Zero forbids onward delegation; a child must strictly decrease it.
actions: Vec<AuthoringAction>§agency: AgencyDelegation§task: TaskDelegationGoal is the exact adopted purpose. Empty command lists grant nothing in this native adapter, regardless of the generic membership helper.
Trait Implementations§
Source§impl Clone for AuthoringDelegation
impl Clone for AuthoringDelegation
Source§impl Debug for AuthoringDelegation
impl Debug for AuthoringDelegation
Source§impl<'de> Deserialize<'de> for AuthoringDelegation
impl<'de> Deserialize<'de> for AuthoringDelegation
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 AuthoringDelegation
Source§impl PartialEq for AuthoringDelegation
impl PartialEq for AuthoringDelegation
Source§impl Serialize for AuthoringDelegation
impl Serialize for AuthoringDelegation
impl StructuralPartialEq for AuthoringDelegation
Auto Trait Implementations§
impl Freeze for AuthoringDelegation
impl RefUnwindSafe for AuthoringDelegation
impl Send for AuthoringDelegation
impl Sync for AuthoringDelegation
impl Unpin for AuthoringDelegation
impl UnsafeUnpin for AuthoringDelegation
impl UnwindSafe for AuthoringDelegation
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