pub struct DelegationRecord {
pub id: String,
pub scope: ResourceScope,
pub grantor_user_id: String,
pub delegate_agent_id: String,
pub computer_ids: BTreeSet<String>,
pub space_ids: BTreeSet<String>,
pub capabilities: BTreeSet<SpaceCapability>,
pub path_prefixes: Vec<String>,
pub purpose: String,
pub expires_at_ms: u64,
pub revoked_at_ms: Option<u64>,
}Fields§
§id: String§scope: ResourceScope§grantor_user_id: String§delegate_agent_id: String§computer_ids: BTreeSet<String>§space_ids: BTreeSet<String>§capabilities: BTreeSet<SpaceCapability>§path_prefixes: Vec<String>§purpose: String§expires_at_ms: u64§revoked_at_ms: Option<u64>Trait Implementations§
Source§impl Clone for DelegationRecord
impl Clone for DelegationRecord
Source§fn clone(&self) -> DelegationRecord
fn clone(&self) -> DelegationRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DelegationRecord
impl Debug for DelegationRecord
Source§impl<'de> Deserialize<'de> for DelegationRecord
impl<'de> Deserialize<'de> for DelegationRecord
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 DelegationRecord
Source§impl From<DelegationRecord> for DelegationResource
impl From<DelegationRecord> for DelegationResource
Source§fn from(record: DelegationRecord) -> Self
fn from(record: DelegationRecord) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DelegationRecord
impl PartialEq for DelegationRecord
Source§impl Serialize for DelegationRecord
impl Serialize for DelegationRecord
impl StructuralPartialEq for DelegationRecord
Auto Trait Implementations§
impl Freeze for DelegationRecord
impl RefUnwindSafe for DelegationRecord
impl Send for DelegationRecord
impl Sync for DelegationRecord
impl Unpin for DelegationRecord
impl UnsafeUnpin for DelegationRecord
impl UnwindSafe for DelegationRecord
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