pub struct ImportSettingProjectionResultV1 {
pub projection_kind: ImportSettingProjectionKindV1,
pub fields: Vec<ImportSettingProjectionFieldV1>,
}Expand description
Closed bounded machine projection for import advice.
Fields§
§projection_kind: ImportSettingProjectionKindV1Exact projection target.
fields: Vec<ImportSettingProjectionFieldV1>Canonically key-ordered fields.
Implementations§
Source§impl ImportSettingProjectionResultV1
impl ImportSettingProjectionResultV1
Sourcepub fn new(
projection_kind: ImportSettingProjectionKindV1,
fields: Vec<ImportSettingProjectionFieldV1>,
) -> Result<Self, PredictionContractError>
pub fn new( projection_kind: ImportSettingProjectionKindV1, fields: Vec<ImportSettingProjectionFieldV1>, ) -> Result<Self, PredictionContractError>
Construct a bounded canonical projection.
Trait Implementations§
Source§impl Clone for ImportSettingProjectionResultV1
impl Clone for ImportSettingProjectionResultV1
Source§fn clone(&self) -> ImportSettingProjectionResultV1
fn clone(&self) -> ImportSettingProjectionResultV1
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<'de> Deserialize<'de> for ImportSettingProjectionResultV1
impl<'de> Deserialize<'de> for ImportSettingProjectionResultV1
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
impl Eq for ImportSettingProjectionResultV1
Source§impl Ord for ImportSettingProjectionResultV1
impl Ord for ImportSettingProjectionResultV1
Source§fn cmp(&self, other: &ImportSettingProjectionResultV1) -> Ordering
fn cmp(&self, other: &ImportSettingProjectionResultV1) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for ImportSettingProjectionResultV1
impl PartialOrd for ImportSettingProjectionResultV1
impl StructuralPartialEq for ImportSettingProjectionResultV1
Auto Trait Implementations§
impl Freeze for ImportSettingProjectionResultV1
impl RefUnwindSafe for ImportSettingProjectionResultV1
impl Send for ImportSettingProjectionResultV1
impl Sync for ImportSettingProjectionResultV1
impl Unpin for ImportSettingProjectionResultV1
impl UnsafeUnpin for ImportSettingProjectionResultV1
impl UnwindSafe for ImportSettingProjectionResultV1
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