Struct sugar_cli::config::guard_data::CandyGuardData
source · pub struct CandyGuardData {
pub default: GuardSet,
pub groups: Option<Vec<Group>>,
}Fields§
§default: GuardSet§groups: Option<Vec<Group>>Implementations§
source§impl CandyGuardData
impl CandyGuardData
pub fn to_guard_format(&self) -> Result<CandyGuardData>
Trait Implementations§
source§impl Clone for CandyGuardData
impl Clone for CandyGuardData
source§fn clone(&self) -> CandyGuardData
fn clone(&self) -> CandyGuardData
Returns a copy 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 CandyGuardData
impl Debug for CandyGuardData
source§impl Default for CandyGuardData
impl Default for CandyGuardData
source§fn default() -> CandyGuardData
fn default() -> CandyGuardData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CandyGuardData
impl<'de> Deserialize<'de> for CandyGuardData
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 RefUnwindSafe for CandyGuardData
impl Send for CandyGuardData
impl Sync for CandyGuardData
impl Unpin for CandyGuardData
impl UnwindSafe for CandyGuardData
Blanket Implementations§
§impl<T> AbiEnumVisitor for Twhere
T: Serialize + AbiExample + ?Sized,
impl<T> AbiEnumVisitor for Twhere T: Serialize + AbiExample + ?Sized,
default fn visit_for_abi( &self, digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
§impl<T> AbiEnumVisitor for Twhere
T: Serialize + ?Sized,
impl<T> AbiEnumVisitor for Twhere T: Serialize + ?Sized,
default fn visit_for_abi( &self, _digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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