pub struct ConstructionSchema {
pub method: &'static str,
pub label: &'static str,
pub doc: &'static str,
pub result: DatumKind,
pub inputs: &'static [Role],
pub params: &'static [Param],
}Expand description
One way to build a datum (see Construction): what it builds, what it
needs selected — one entity per input, in any order — and the values it
takes besides.
Fields§
§method: &'static strHow the construction is spelled: offset.
label: &'static str§doc: &'static str§result: DatumKind§inputs: &'static [Role]§params: &'static [Param]Trait Implementations§
Source§impl Clone for ConstructionSchema
impl Clone for ConstructionSchema
Source§fn clone(&self) -> ConstructionSchema
fn clone(&self) -> ConstructionSchema
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 moreimpl Copy for ConstructionSchema
Source§impl Debug for ConstructionSchema
impl Debug for ConstructionSchema
Source§impl PartialEq for ConstructionSchema
impl PartialEq for ConstructionSchema
Source§fn eq(&self, other: &ConstructionSchema) -> bool
fn eq(&self, other: &ConstructionSchema) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConstructionSchema
Auto Trait Implementations§
impl Freeze for ConstructionSchema
impl RefUnwindSafe for ConstructionSchema
impl Send for ConstructionSchema
impl Sync for ConstructionSchema
impl Unpin for ConstructionSchema
impl UnsafeUnpin for ConstructionSchema
impl UnwindSafe for ConstructionSchema
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