pub struct KeyGrant {
pub name: String,
pub repository: Option<String>,
}Expand description
What a live key allows.
Fields§
§name: String§repository: Option<String>The repository the key is bound to, normalised; None for any.
Trait Implementations§
impl Eq for KeyGrant
impl StructuralPartialEq for KeyGrant
Auto Trait Implementations§
impl Freeze for KeyGrant
impl RefUnwindSafe for KeyGrant
impl Send for KeyGrant
impl Sync for KeyGrant
impl Unpin for KeyGrant
impl UnsafeUnpin for KeyGrant
impl UnwindSafe for KeyGrant
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.