pub struct SecretContract {
pub name: Option<String>,
pub source: Option<String>,
pub required: Option<bool>,
pub reason: Option<String>,
pub targets: Option<Vec<String>>,
}Fields§
§name: Option<String>§source: Option<String>§required: Option<bool>§reason: Option<String>§targets: Option<Vec<String>>Implementations§
Source§impl SecretContract
impl SecretContract
pub fn new() -> SecretContract
Trait Implementations§
Source§impl Clone for SecretContract
impl Clone for SecretContract
Source§fn clone(&self) -> SecretContract
fn clone(&self) -> SecretContract
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SecretContract
impl Debug for SecretContract
Source§impl Default for SecretContract
impl Default for SecretContract
Source§fn default() -> SecretContract
fn default() -> SecretContract
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecretContract
impl<'de> Deserialize<'de> for SecretContract
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 SecretContract
impl PartialEq for SecretContract
Source§fn eq(&self, other: &SecretContract) -> bool
fn eq(&self, other: &SecretContract) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SecretContract
impl Serialize for SecretContract
impl StructuralPartialEq for SecretContract
Auto Trait Implementations§
impl Freeze for SecretContract
impl RefUnwindSafe for SecretContract
impl Send for SecretContract
impl Sync for SecretContract
impl Unpin for SecretContract
impl UnsafeUnpin for SecretContract
impl UnwindSafe for SecretContract
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