pub struct OwnedObjectContract {
pub required_parts: Vec<String>,
pub provided_parts: Vec<String>,
}Expand description
Owned twin of ObjectContract, the construction contract.
ObjectContract 的 owned 孪生:构造合同。
Fields§
§required_parts: Vec<String>Construction parts the preset requires. preset 要求的构造 parts。
provided_parts: Vec<String>Construction parts the parts type supplies. parts 类型实际提供的构造 parts。
Implementations§
Trait Implementations§
Source§impl Clone for OwnedObjectContract
impl Clone for OwnedObjectContract
Source§fn clone(&self) -> OwnedObjectContract
fn clone(&self) -> OwnedObjectContract
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 OwnedObjectContract
impl Debug for OwnedObjectContract
impl Eq for OwnedObjectContract
Source§impl PartialEq for OwnedObjectContract
impl PartialEq for OwnedObjectContract
impl StructuralPartialEq for OwnedObjectContract
Auto Trait Implementations§
impl Freeze for OwnedObjectContract
impl RefUnwindSafe for OwnedObjectContract
impl Send for OwnedObjectContract
impl Sync for OwnedObjectContract
impl Unpin for OwnedObjectContract
impl UnsafeUnpin for OwnedObjectContract
impl UnwindSafe for OwnedObjectContract
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