pub struct AbdDelegation {
pub issuer: PublicKey,
pub issuer_attribute: String,
pub subject: PublicKey,
pub subject_attribute: Option<String>,
}Expand description
Звено цепочки: issuer.issuer_attribute <- subject[.subject_attribute].
Fields§
§issuer: PublicKeyКто наделяет атрибутом.
issuer_attribute: StringКаким атрибутом издателя.
subject: PublicKeyКого наделяет.
subject_attribute: Option<String>Если задан, атрибут получает не сам субъект, а все обладатели этого атрибута субъекта.
Trait Implementations§
Source§impl Clone for AbdDelegation
impl Clone for AbdDelegation
Source§fn clone(&self) -> AbdDelegation
fn clone(&self) -> AbdDelegation
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 AbdDelegation
impl Debug for AbdDelegation
impl Eq for AbdDelegation
Source§impl PartialEq for AbdDelegation
impl PartialEq for AbdDelegation
impl StructuralPartialEq for AbdDelegation
Auto Trait Implementations§
impl Freeze for AbdDelegation
impl RefUnwindSafe for AbdDelegation
impl Send for AbdDelegation
impl Sync for AbdDelegation
impl Unpin for AbdDelegation
impl UnsafeUnpin for AbdDelegation
impl UnwindSafe for AbdDelegation
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