pub struct BaselineContract {
pub name: String,
pub description: String,
pub required_trust_profile: String,
pub access_level: AccessLevel,
pub secret_constraints: SecretConstraints,
pub target_constraints: Option<Vec<String>>,
}Expand description
Baseline authority contract template
Fields§
§name: String§description: String§required_trust_profile: String§access_level: AccessLevel§secret_constraints: SecretConstraints§target_constraints: Option<Vec<String>>Trait Implementations§
Source§impl Clone for BaselineContract
impl Clone for BaselineContract
Source§fn clone(&self) -> BaselineContract
fn clone(&self) -> BaselineContract
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 BaselineContract
impl Debug for BaselineContract
Source§impl<'de> Deserialize<'de> for BaselineContract
impl<'de> Deserialize<'de> for BaselineContract
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 Freeze for BaselineContract
impl RefUnwindSafe for BaselineContract
impl Send for BaselineContract
impl Sync for BaselineContract
impl Unpin for BaselineContract
impl UnsafeUnpin for BaselineContract
impl UnwindSafe for BaselineContract
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