pub struct DesignatedSignersConfigV2 {
pub type: Type,
pub users: Option<Vec<String>>,
pub groups: Option<Vec<String>>,
}Expand description
DesignatedSignersConfigV2 : Designated signers configuration
Fields§
§type: TypeType of designated signers
users: Option<Vec<String>>List of user IDs
groups: Option<Vec<String>>List of policy group IDs
Implementations§
Source§impl DesignatedSignersConfigV2
impl DesignatedSignersConfigV2
Sourcepub fn new(type: Type) -> DesignatedSignersConfigV2
pub fn new(type: Type) -> DesignatedSignersConfigV2
Designated signers configuration
Trait Implementations§
Source§impl Clone for DesignatedSignersConfigV2
impl Clone for DesignatedSignersConfigV2
Source§fn clone(&self) -> DesignatedSignersConfigV2
fn clone(&self) -> DesignatedSignersConfigV2
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 DesignatedSignersConfigV2
impl Debug for DesignatedSignersConfigV2
Source§impl Default for DesignatedSignersConfigV2
impl Default for DesignatedSignersConfigV2
Source§fn default() -> DesignatedSignersConfigV2
fn default() -> DesignatedSignersConfigV2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DesignatedSignersConfigV2
impl<'de> Deserialize<'de> for DesignatedSignersConfigV2
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 StructuralPartialEq for DesignatedSignersConfigV2
Auto Trait Implementations§
impl Freeze for DesignatedSignersConfigV2
impl RefUnwindSafe for DesignatedSignersConfigV2
impl Send for DesignatedSignersConfigV2
impl Sync for DesignatedSignersConfigV2
impl Unpin for DesignatedSignersConfigV2
impl UnwindSafe for DesignatedSignersConfigV2
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