pub struct TransferFilterContractContractRef { /* private fields */ }Expand description
[TransferFilterContract] Contract Ref.
Implementations§
Source§impl TransferFilterContractContractRef
impl TransferFilterContractContractRef
pub fn can_transfer( &self, source_key: Address, target_key: Address, token_id: TokenIdentifier, ) -> TransferFilterContractResult
Trait Implementations§
Source§impl ContractRef for TransferFilterContractContractRef
impl ContractRef for TransferFilterContractContractRef
Source§impl SchemaEvents for TransferFilterContractContractRef
impl SchemaEvents for TransferFilterContractContractRef
Source§fn custom_types() -> Vec<Option<CustomType>>
fn custom_types() -> Vec<Option<CustomType>>
Returns a vector of CustomTypes. Read more
Auto Trait Implementations§
impl Freeze for TransferFilterContractContractRef
impl !RefUnwindSafe for TransferFilterContractContractRef
impl !Send for TransferFilterContractContractRef
impl !Sync for TransferFilterContractContractRef
impl Unpin for TransferFilterContractContractRef
impl !UnwindSafe for TransferFilterContractContractRef
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more