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§impl Debug for SecretContract
impl Debug for SecretContract
Source§impl Default for SecretContract
impl Default for SecretContract
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§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