[][src]Struct polymesh_primitives::asset::GranularCanTransferResult

pub struct GranularCanTransferResult {
    pub invalid_granularity: bool,
    pub self_transfer: bool,
    pub invalid_receiver_cdd: bool,
    pub invalid_sender_cdd: bool,
    pub missing_scope_claim: bool,
    pub receiver_custodian_error: bool,
    pub sender_custodian_error: bool,
    pub sender_insufficient_balance: bool,
    pub portfolio_validity_result: PortfolioValidityResult,
    pub asset_frozen: bool,
    pub statistics_result: Vec<TransferManagerResult>,
    pub compliance_result: AssetComplianceResult,
    pub result: bool,
}

Result of a granular can transfer.

Fields

invalid_granularity: bool

Granularity check failed.

self_transfer: bool

Receiver is equal to sender.

invalid_receiver_cdd: bool

Receiver is missing cdd.

invalid_sender_cdd: bool

Sender is missing cdd.

missing_scope_claim: bool

Scope claim is missing.

receiver_custodian_error: bool

Receiver had a custodian error.

sender_custodian_error: bool

Sender had a custodian error.

sender_insufficient_balance: bool

Sender had an insufficient balance.

portfolio_validity_result: PortfolioValidityResult

Portfolio validity result.

asset_frozen: bool

Asset is frozen.

statistics_result: Vec<TransferManagerResult>

Result of statistics check.

compliance_result: AssetComplianceResult

Result of compliance check.

result: bool

Final evaluation result.

Trait Implementations

impl Clone for GranularCanTransferResult[src]

impl Debug for GranularCanTransferResult[src]

impl Decode for GranularCanTransferResult[src]

impl<'de> Deserialize<'de> for GranularCanTransferResult[src]

impl Encode for GranularCanTransferResult[src]

impl EncodeLike<GranularCanTransferResult> for GranularCanTransferResult[src]

impl Eq for GranularCanTransferResult[src]

impl Hash for GranularCanTransferResult[src]

impl PartialEq<GranularCanTransferResult> for GranularCanTransferResult[src]

impl Serialize for GranularCanTransferResult[src]

impl StructuralEq for GranularCanTransferResult[src]

impl StructuralPartialEq for GranularCanTransferResult[src]

Auto Trait Implementations

impl RefUnwindSafe for GranularCanTransferResult[src]

impl Send for GranularCanTransferResult[src]

impl Sync for GranularCanTransferResult[src]

impl Unpin for GranularCanTransferResult[src]

impl UnwindSafe for GranularCanTransferResult[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 

impl<T> CheckedConversion for T

impl<S> Codec for S where
    S: Encode + Decode, 

impl<T> DecodeAll for T where
    T: Decode, 

impl<T> DecodeLimit for T where
    T: Decode, 

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> DynClone for T where
    T: Clone
[src]

impl<'_, '_, T> EncodeLike<&'_ &'_ T> for T where
    T: Encode, 

impl<'_, T> EncodeLike<&'_ T> for T where
    T: Encode, 

impl<'_, T> EncodeLike<&'_ mut T> for T where
    T: Encode, 

impl<T> EncodeLike<Arc<T>> for T where
    T: Encode, 

impl<T> EncodeLike<Box<T, Global>> for T where
    T: Encode, 

impl<'a, T> EncodeLike<Cow<'a, T>> for T where
    T: Encode + ToOwned

impl<T> EncodeLike<Rc<T>> for T where
    T: Encode, 

impl<T> From<T> for T[src]

impl<T> FromBits<T> for T

impl<T> FromCast<T> for T

impl<S> FullCodec for S where
    S: Decode + FullEncode, 

impl<S> FullEncode for S where
    S: Encode + EncodeLike<S>, 

impl<T> Hashable for T where
    T: Codec, 

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> IntoBits<U> for T where
    U: FromBits<T>, 

impl<T> IsType<T> for T

impl<T, Outer> IsWrappedBy<Outer> for T where
    T: From<Outer>,
    Outer: AsRef<T> + AsMut<T> + From<T>, 

pub fn from_ref(outer: &Outer) -> &T

Get a reference to the inner from the outer.

pub fn from_mut(outer: &mut Outer) -> &mut T

Get a mutable reference to the inner from the outer.

impl<T> KeyedVec for T where
    T: Codec, 

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeHash for T where
    T: Hash

impl<T> MaybeHash for T where
    T: Hash

impl<T> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe

impl<T> MaybeSerialize for T where
    T: Serialize

impl<T> MaybeSerializeDeserialize for T where
    T: DeserializeOwned + Serialize

impl<T> Member for T where
    T: 'static + Clone + PartialEq<T> + Eq + Send + Sync + Debug

impl<T> Parameter for T where
    T: Codec + EncodeLike<T> + Clone + Eq + Debug

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatedConversion for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 

impl<T, S> UniqueSaturatedInto<T> for S where
    T: Bounded,
    S: TryInto<T>, 

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,