pub struct ValidConsignment<const TRANSFER: bool> { /* private fields */ }
Implementations§
Source§impl<const TRANSFER: bool> ValidConsignment<TRANSFER>
impl<const TRANSFER: bool> ValidConsignment<TRANSFER>
pub fn validation_status(&self) -> &Status
pub fn validated_opids(&self) -> &BTreeSet<OpId>
pub fn into_consignment(self) -> Consignment<TRANSFER>
pub fn into_validation_status(self) -> Status
pub fn split(self) -> (Consignment<TRANSFER>, Status)
Methods from Deref<Target = Consignment<TRANSFER>>§
pub fn consignment_id(&self) -> ConsignmentId
pub fn schema_id(&self) -> SchemaId
pub fn replace_transitions_input_ops(&self) -> BTreeSet<OpId>
Trait Implementations§
Source§impl<const TRANSFER: bool> Clone for ValidConsignment<TRANSFER>
impl<const TRANSFER: bool> Clone for ValidConsignment<TRANSFER>
Source§fn clone(&self) -> ValidConsignment<TRANSFER>
fn clone(&self) -> ValidConsignment<TRANSFER>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<const TRANSFER: bool> Debug for ValidConsignment<TRANSFER>
impl<const TRANSFER: bool> Debug for ValidConsignment<TRANSFER>
Source§impl<const TRANSFER: bool> Deref for ValidConsignment<TRANSFER>
impl<const TRANSFER: bool> Deref for ValidConsignment<TRANSFER>
Auto Trait Implementations§
impl<const TRANSFER: bool> Freeze for ValidConsignment<TRANSFER>
impl<const TRANSFER: bool> RefUnwindSafe for ValidConsignment<TRANSFER>
impl<const TRANSFER: bool> Send for ValidConsignment<TRANSFER>
impl<const TRANSFER: bool> Sync for ValidConsignment<TRANSFER>
impl<const TRANSFER: bool> Unpin for ValidConsignment<TRANSFER>
impl<const TRANSFER: bool> UnwindSafe for ValidConsignment<TRANSFER>
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