pub struct ContractAttributes {
pub use_cases: Vec<String>,
pub standards: Vec<String>,
pub auditor: AuditorData,
}
Fields§
§use_cases: Vec<String>
§standards: Vec<String>
§auditor: AuditorData
Implementations§
Source§impl ContractAttributes
impl ContractAttributes
pub fn new( use_cases: Vec<String>, standards: Vec<String>, auditor: AuditorData, ) -> ContractAttributes
Trait Implementations§
Source§impl Clone for ContractAttributes
impl Clone for ContractAttributes
Source§fn clone(&self) -> ContractAttributes
fn clone(&self) -> ContractAttributes
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 ContractAttributes
impl Debug for ContractAttributes
Source§impl Default for ContractAttributes
impl Default for ContractAttributes
Source§fn default() -> ContractAttributes
fn default() -> ContractAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContractAttributes
impl<'de> Deserialize<'de> for ContractAttributes
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 ContractAttributes
impl PartialEq for ContractAttributes
Source§impl Serialize for ContractAttributes
impl Serialize for ContractAttributes
impl StructuralPartialEq for ContractAttributes
Auto Trait Implementations§
impl Freeze for ContractAttributes
impl RefUnwindSafe for ContractAttributes
impl Send for ContractAttributes
impl Sync for ContractAttributes
impl Unpin for ContractAttributes
impl UnwindSafe for ContractAttributes
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