pub struct Contract {
pub name: String,
pub a_name: String,
pub a_email: String,
pub typ: CT,
}Expand description
Contract Details
Fields§
§name: StringName of the contract/project (default: counter)
a_name: StringAuther Name
a_email: StringAuthor email address
typ: CTContract Type (default: Counter)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Contract
impl RefUnwindSafe for Contract
impl Send for Contract
impl Sync for Contract
impl Unpin for Contract
impl UnwindSafe for Contract
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