pub struct KeyGroupConfig {
pub name: String,
pub items: Vec<String>,
pub comment: String,
}Expand description
Key group configuration.
Fields§
§name: StringKey group name.
items: Vec<String>List of public-key IDs in this group.
comment: StringOptional comment.
Trait Implementations§
Source§impl Clone for KeyGroupConfig
impl Clone for KeyGroupConfig
Source§fn clone(&self) -> KeyGroupConfig
fn clone(&self) -> KeyGroupConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 KeyGroupConfig
impl Debug for KeyGroupConfig
Source§impl Default for KeyGroupConfig
impl Default for KeyGroupConfig
Source§fn default() -> KeyGroupConfig
fn default() -> KeyGroupConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KeyGroupConfig
impl<'de> Deserialize<'de> for KeyGroupConfig
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
Auto Trait Implementations§
impl Freeze for KeyGroupConfig
impl RefUnwindSafe for KeyGroupConfig
impl Send for KeyGroupConfig
impl Sync for KeyGroupConfig
impl Unpin for KeyGroupConfig
impl UnsafeUnpin for KeyGroupConfig
impl UnwindSafe for KeyGroupConfig
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