pub struct SuiTransferObjectsCommandCondition {
pub field: SuiTransferObjectsCommandField,
pub field_source: SuiTransferObjectsCommandConditionFieldSource,
pub operator: ConditionOperator,
pub value: ConditionValue,
}Expand description
SUI TransferObjects command attributes, including recipient and amount fields.
JSON schema
{
"title": "SuiTransferObjectsCommandCondition",
"description": "SUI TransferObjects command attributes, including
recipient and amount fields.",
"type": "object",
"required": [
"field",
"field_source",
"operator",
"value"
],
"properties": {
"field": {
"$ref": "#/components/schemas/SuiTransferObjectsCommandField"
},
"field_source": {
"type": "string",
"enum": [
"sui_transfer_objects_command"
]
},
"operator": {
"$ref": "#/components/schemas/ConditionOperator"
},
"value": {
"$ref": "#/components/schemas/ConditionValue"
}
},
"x-stainless-model": "policies.sui_transfer_objects_command_condition"
}Fields§
§field: SuiTransferObjectsCommandField§field_source: SuiTransferObjectsCommandConditionFieldSource§operator: ConditionOperator§value: ConditionValueTrait Implementations§
Source§impl Clone for SuiTransferObjectsCommandCondition
impl Clone for SuiTransferObjectsCommandCondition
Source§fn clone(&self) -> SuiTransferObjectsCommandCondition
fn clone(&self) -> SuiTransferObjectsCommandCondition
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<'de> Deserialize<'de> for SuiTransferObjectsCommandCondition
impl<'de> Deserialize<'de> for SuiTransferObjectsCommandCondition
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SuiTransferObjectsCommandCondition, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SuiTransferObjectsCommandCondition, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&SuiTransferObjectsCommandCondition> for SuiTransferObjectsCommandCondition
impl From<&SuiTransferObjectsCommandCondition> for SuiTransferObjectsCommandCondition
Source§fn from(
value: &SuiTransferObjectsCommandCondition,
) -> SuiTransferObjectsCommandCondition
fn from( value: &SuiTransferObjectsCommandCondition, ) -> SuiTransferObjectsCommandCondition
Converts to this type from the input type.
Source§impl From<SuiTransferObjectsCommandCondition> for PolicyCondition
impl From<SuiTransferObjectsCommandCondition> for PolicyCondition
Source§fn from(value: SuiTransferObjectsCommandCondition) -> PolicyCondition
fn from(value: SuiTransferObjectsCommandCondition) -> PolicyCondition
Converts to this type from the input type.
Source§impl Serialize for SuiTransferObjectsCommandCondition
impl Serialize for SuiTransferObjectsCommandCondition
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
Auto Trait Implementations§
impl Freeze for SuiTransferObjectsCommandCondition
impl RefUnwindSafe for SuiTransferObjectsCommandCondition
impl Send for SuiTransferObjectsCommandCondition
impl Sync for SuiTransferObjectsCommandCondition
impl Unpin for SuiTransferObjectsCommandCondition
impl UnsafeUnpin for SuiTransferObjectsCommandCondition
impl UnwindSafe for SuiTransferObjectsCommandCondition
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