pub struct SolanaSystemProgramInstructionCondition {
pub field: SolanaSystemProgramInstructionConditionField,
pub field_source: SolanaSystemProgramInstructionConditionFieldSource,
pub operator: ConditionOperator,
pub value: ConditionValue,
}Expand description
Solana System Program attributes, including more granular Transfer instruction fields.
JSON schema
{
"title": "solana_system_program_instruction",
"description": "Solana System Program attributes, including more
granular Transfer instruction fields.",
"type": "object",
"required": [
"field",
"field_source",
"operator",
"value"
],
"properties": {
"field": {
"title": "SolanaSystemProgramInstructionConditionField",
"type": "string",
"enum": [
"Transfer.from",
"Transfer.lamports",
"Transfer.to",
"instructionName"
]
},
"field_source": {
"type": "string",
"enum": [
"solana_system_program_instruction"
]
},
"operator": {
"$ref": "#/components/schemas/ConditionOperator"
},
"value": {
"$ref": "#/components/schemas/ConditionValue"
}
}
}Fields§
§field: SolanaSystemProgramInstructionConditionField§field_source: SolanaSystemProgramInstructionConditionFieldSource§operator: ConditionOperator§value: ConditionValueTrait Implementations§
Source§impl Clone for SolanaSystemProgramInstructionCondition
impl Clone for SolanaSystemProgramInstructionCondition
Source§fn clone(&self) -> SolanaSystemProgramInstructionCondition
fn clone(&self) -> SolanaSystemProgramInstructionCondition
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<'de> Deserialize<'de> for SolanaSystemProgramInstructionCondition
impl<'de> Deserialize<'de> for SolanaSystemProgramInstructionCondition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&SolanaSystemProgramInstructionCondition> for SolanaSystemProgramInstructionCondition
impl From<&SolanaSystemProgramInstructionCondition> for SolanaSystemProgramInstructionCondition
Source§fn from(value: &SolanaSystemProgramInstructionCondition) -> Self
fn from(value: &SolanaSystemProgramInstructionCondition) -> Self
Converts to this type from the input type.
Source§impl From<SolanaSystemProgramInstructionCondition> for PolicyCondition
impl From<SolanaSystemProgramInstructionCondition> for PolicyCondition
Source§fn from(value: SolanaSystemProgramInstructionCondition) -> Self
fn from(value: SolanaSystemProgramInstructionCondition) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SolanaSystemProgramInstructionCondition
impl RefUnwindSafe for SolanaSystemProgramInstructionCondition
impl Send for SolanaSystemProgramInstructionCondition
impl Sync for SolanaSystemProgramInstructionCondition
impl Unpin for SolanaSystemProgramInstructionCondition
impl UnwindSafe for SolanaSystemProgramInstructionCondition
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