pub struct ClassifyOutcome {
pub report: Option<ClassifyReport>,
pub failure: Option<ClassifyFailure>,
}Fields§
§report: Option<ClassifyReport>§failure: Option<ClassifyFailure>Trait Implementations§
Source§impl Clone for ClassifyOutcome
impl Clone for ClassifyOutcome
Source§fn clone(&self) -> ClassifyOutcome
fn clone(&self) -> ClassifyOutcome
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 ContractType for ClassifyOutcome
impl ContractType for ClassifyOutcome
fn encode_value(&self) -> Result<ContractValue, EncodeError>
fn decode_value(value: &ContractValue) -> Result<Self, DecodeError>
fn encode(&self) -> Result<SlotValue, EncodeError>
fn decode(slot: &SlotValue) -> Result<Self, DecodeError>
fn encode_field(&self) -> Result<Option<ContractValue>, EncodeError>
fn decode_field(field: Option<&ContractValue>) -> Result<Self, DecodeError>
Source§impl Debug for ClassifyOutcome
impl Debug for ClassifyOutcome
Source§impl Default for ClassifyOutcome
impl Default for ClassifyOutcome
Source§fn default() -> ClassifyOutcome
fn default() -> ClassifyOutcome
Returns the “default value” for a type. Read more
Source§impl PartialEq for ClassifyOutcome
impl PartialEq for ClassifyOutcome
impl StructuralPartialEq for ClassifyOutcome
Auto Trait Implementations§
impl Freeze for ClassifyOutcome
impl RefUnwindSafe for ClassifyOutcome
impl Send for ClassifyOutcome
impl Sync for ClassifyOutcome
impl Unpin for ClassifyOutcome
impl UnsafeUnpin for ClassifyOutcome
impl UnwindSafe for ClassifyOutcome
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