pub struct VerdictConfigV2 {
pub action: Action,
pub approvers: Option<ApproversConfigV2>,
pub designated_signers: Option<DesignatedSignersConfigV2>,
}Expand description
VerdictConfigV2 : Verdict configuration
Fields§
§action: ActionVerdict action
approvers: Option<ApproversConfigV2>§designated_signers: Option<DesignatedSignersConfigV2>Implementations§
Source§impl VerdictConfigV2
impl VerdictConfigV2
Sourcepub fn new(action: Action) -> VerdictConfigV2
pub fn new(action: Action) -> VerdictConfigV2
Verdict configuration
Trait Implementations§
Source§impl Clone for VerdictConfigV2
impl Clone for VerdictConfigV2
Source§fn clone(&self) -> VerdictConfigV2
fn clone(&self) -> VerdictConfigV2
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 VerdictConfigV2
impl Debug for VerdictConfigV2
Source§impl Default for VerdictConfigV2
impl Default for VerdictConfigV2
Source§fn default() -> VerdictConfigV2
fn default() -> VerdictConfigV2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VerdictConfigV2
impl<'de> Deserialize<'de> for VerdictConfigV2
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
Source§impl PartialEq for VerdictConfigV2
impl PartialEq for VerdictConfigV2
Source§impl Serialize for VerdictConfigV2
impl Serialize for VerdictConfigV2
impl StructuralPartialEq for VerdictConfigV2
Auto Trait Implementations§
impl Freeze for VerdictConfigV2
impl RefUnwindSafe for VerdictConfigV2
impl Send for VerdictConfigV2
impl Sync for VerdictConfigV2
impl Unpin for VerdictConfigV2
impl UnwindSafe for VerdictConfigV2
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