pub struct Delegation {
pub key: PublicKey,
pub apps: Vec<String>,
pub channels: Vec<String>,
pub expires: Option<Timestamp>,
}Expand description
A release key delegated by the root.
Fields§
§key: PublicKeyThe release key.
apps: Vec<String>Apps it may sign for; empty means every app of the org.
channels: Vec<String>Channels it may sign for; empty means every channel.
expires: Option<Timestamp>After this time the delegation no longer counts.
Implementations§
Trait Implementations§
Source§impl Clone for Delegation
impl Clone for Delegation
Source§impl Debug for Delegation
impl Debug for Delegation
Source§impl<'de> Deserialize<'de> for Delegation
impl<'de> Deserialize<'de> for Delegation
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 Delegation
Source§impl PartialEq for Delegation
impl PartialEq for Delegation
Source§impl Serialize for Delegation
impl Serialize for Delegation
impl StructuralPartialEq for Delegation
Auto Trait Implementations§
impl Forget for Delegation
impl Freeze for Delegation
impl Move for Delegation
impl RefUnwindSafe for Delegation
impl Send for Delegation
impl Sync for Delegation
impl Unpin for Delegation
impl UnsafeUnpin for Delegation
impl UnwindSafe for Delegation
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