Enum identity_iota::iota::block::output::unlock_condition::dto::UnlockConditionDto
source · pub enum UnlockConditionDto {
Address(AddressUnlockConditionDto),
StorageDepositReturn(StorageDepositReturnUnlockConditionDto),
Timelock(TimelockUnlockConditionDto),
Expiration(ExpirationUnlockConditionDto),
StateControllerAddress(StateControllerAddressUnlockConditionDto),
GovernorAddress(GovernorAddressUnlockConditionDto),
ImmutableAliasAddress(ImmutableAliasAddressUnlockConditionDto),
}
Variants§
Address(AddressUnlockConditionDto)
An address unlock condition.
StorageDepositReturn(StorageDepositReturnUnlockConditionDto)
A storage deposit return unlock condition.
Timelock(TimelockUnlockConditionDto)
A timelock unlock condition.
Expiration(ExpirationUnlockConditionDto)
An expiration unlock condition.
StateControllerAddress(StateControllerAddressUnlockConditionDto)
A state controller address unlock condition.
GovernorAddress(GovernorAddressUnlockConditionDto)
A governor address unlock condition.
ImmutableAliasAddress(ImmutableAliasAddressUnlockConditionDto)
An immutable alias address unlock condition.
Implementations§
Trait Implementations§
source§impl Clone for UnlockConditionDto
impl Clone for UnlockConditionDto
source§fn clone(&self) -> UnlockConditionDto
fn clone(&self) -> UnlockConditionDto
Returns a copy 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 Debug for UnlockConditionDto
impl Debug for UnlockConditionDto
source§impl<'de> Deserialize<'de> for UnlockConditionDto
impl<'de> Deserialize<'de> for UnlockConditionDto
source§fn deserialize<D>(
d: D
) -> Result<UnlockConditionDto, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
d: D
) -> Result<UnlockConditionDto, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<&UnlockCondition> for UnlockConditionDto
impl From<&UnlockCondition> for UnlockConditionDto
source§fn from(value: &UnlockCondition) -> UnlockConditionDto
fn from(value: &UnlockCondition) -> UnlockConditionDto
Converts to this type from the input type.
source§impl From<AddressUnlockConditionDto> for UnlockConditionDto
impl From<AddressUnlockConditionDto> for UnlockConditionDto
source§fn from(original: AddressUnlockConditionDto) -> UnlockConditionDto
fn from(original: AddressUnlockConditionDto) -> UnlockConditionDto
Converts to this type from the input type.
source§impl From<ExpirationUnlockConditionDto> for UnlockConditionDto
impl From<ExpirationUnlockConditionDto> for UnlockConditionDto
source§fn from(original: ExpirationUnlockConditionDto) -> UnlockConditionDto
fn from(original: ExpirationUnlockConditionDto) -> UnlockConditionDto
Converts to this type from the input type.
source§impl From<GovernorAddressUnlockConditionDto> for UnlockConditionDto
impl From<GovernorAddressUnlockConditionDto> for UnlockConditionDto
source§fn from(original: GovernorAddressUnlockConditionDto) -> UnlockConditionDto
fn from(original: GovernorAddressUnlockConditionDto) -> UnlockConditionDto
Converts to this type from the input type.
source§impl From<ImmutableAliasAddressUnlockConditionDto> for UnlockConditionDto
impl From<ImmutableAliasAddressUnlockConditionDto> for UnlockConditionDto
source§fn from(original: ImmutableAliasAddressUnlockConditionDto) -> UnlockConditionDto
fn from(original: ImmutableAliasAddressUnlockConditionDto) -> UnlockConditionDto
Converts to this type from the input type.
source§impl From<StateControllerAddressUnlockConditionDto> for UnlockConditionDto
impl From<StateControllerAddressUnlockConditionDto> for UnlockConditionDto
source§fn from(
original: StateControllerAddressUnlockConditionDto
) -> UnlockConditionDto
fn from( original: StateControllerAddressUnlockConditionDto ) -> UnlockConditionDto
Converts to this type from the input type.
source§impl From<StorageDepositReturnUnlockConditionDto> for UnlockConditionDto
impl From<StorageDepositReturnUnlockConditionDto> for UnlockConditionDto
source§fn from(original: StorageDepositReturnUnlockConditionDto) -> UnlockConditionDto
fn from(original: StorageDepositReturnUnlockConditionDto) -> UnlockConditionDto
Converts to this type from the input type.
source§impl From<TimelockUnlockConditionDto> for UnlockConditionDto
impl From<TimelockUnlockConditionDto> for UnlockConditionDto
source§fn from(original: TimelockUnlockConditionDto) -> UnlockConditionDto
fn from(original: TimelockUnlockConditionDto) -> UnlockConditionDto
Converts to this type from the input type.
source§impl PartialEq for UnlockConditionDto
impl PartialEq for UnlockConditionDto
source§fn eq(&self, other: &UnlockConditionDto) -> bool
fn eq(&self, other: &UnlockConditionDto) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UnlockConditionDto
impl Serialize for UnlockConditionDto
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for UnlockConditionDto
impl StructuralPartialEq for UnlockConditionDto
Auto Trait Implementations§
impl Freeze for UnlockConditionDto
impl RefUnwindSafe for UnlockConditionDto
impl Send for UnlockConditionDto
impl Sync for UnlockConditionDto
impl Unpin for UnlockConditionDto
impl UnwindSafe for UnlockConditionDto
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> FromJson for Twhere
T: for<'de> Deserialize<'de>,
impl<T> FromJson for Twhere
T: for<'de> Deserialize<'de>,
source§fn from_json(json: &(impl AsRef<str> + ?Sized)) -> Result<Self, Error>
fn from_json(json: &(impl AsRef<str> + ?Sized)) -> Result<Self, Error>
Deserialize
Self
from a string of JSON text.source§fn from_json_slice(json: &(impl AsRef<[u8]> + ?Sized)) -> Result<Self, Error>
fn from_json_slice(json: &(impl AsRef<[u8]> + ?Sized)) -> Result<Self, Error>
Deserialize
Self
from bytes of JSON text.source§fn from_json_value(json: Value) -> Result<Self, Error>
fn from_json_value(json: Value) -> Result<Self, Error>
Deserialize
Self
from a serde_json::Value
.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> ToJson for Twhere
T: Serialize,
impl<T> ToJson for Twhere
T: Serialize,
source§fn to_json_value(&self) -> Result<Value, Error>
fn to_json_value(&self) -> Result<Value, Error>
Serialize
self
as a serde_json::Value
.