pub struct SolanaProgramInstructionCondition {
pub field: SolanaProgramInstructionConditionField,
pub field_source: SolanaProgramInstructionConditionFieldSource,
pub operator: ConditionOperator,
pub value: ConditionValue,
}Expand description
Solana Program attributes, enables allowlisting Solana Programs.
JSON schema
{
"title": "solana_program_instruction",
"description": "Solana Program attributes, enables allowlisting Solana
Programs.",
"type": "object",
"required": [
"field",
"field_source",
"operator",
"value"
],
"properties": {
"field": {
"title": "SolanaProgramInstructionConditionField",
"type": "string",
"enum": [
"programId"
]
},
"field_source": {
"type": "string",
"enum": [
"solana_program_instruction"
]
},
"operator": {
"$ref": "#/components/schemas/ConditionOperator"
},
"value": {
"$ref": "#/components/schemas/ConditionValue"
}
}
}Fields§
§field: SolanaProgramInstructionConditionField§field_source: SolanaProgramInstructionConditionFieldSource§operator: ConditionOperator§value: ConditionValueTrait Implementations§
Source§impl Clone for SolanaProgramInstructionCondition
impl Clone for SolanaProgramInstructionCondition
Source§fn clone(&self) -> SolanaProgramInstructionCondition
fn clone(&self) -> SolanaProgramInstructionCondition
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 SolanaProgramInstructionCondition
impl<'de> Deserialize<'de> for SolanaProgramInstructionCondition
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<&SolanaProgramInstructionCondition> for SolanaProgramInstructionCondition
impl From<&SolanaProgramInstructionCondition> for SolanaProgramInstructionCondition
Source§fn from(value: &SolanaProgramInstructionCondition) -> Self
fn from(value: &SolanaProgramInstructionCondition) -> Self
Converts to this type from the input type.
Source§impl From<SolanaProgramInstructionCondition> for PolicyCondition
impl From<SolanaProgramInstructionCondition> for PolicyCondition
Source§fn from(value: SolanaProgramInstructionCondition) -> Self
fn from(value: SolanaProgramInstructionCondition) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SolanaProgramInstructionCondition
impl RefUnwindSafe for SolanaProgramInstructionCondition
impl Send for SolanaProgramInstructionCondition
impl Sync for SolanaProgramInstructionCondition
impl Unpin for SolanaProgramInstructionCondition
impl UnwindSafe for SolanaProgramInstructionCondition
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