pub struct SplAddressObservation {
pub addresses: Vec<SplAddressObservationAddressesItem>,
pub type_: SplAddressObservationType,
}Expand description
The SPL token transfer recipients an splAddress criterion compared. For a raw transaction these are the recipients’ token accounts (usually associated token accounts), not their wallet addresses. For sendEndUserSolAsset they are wallet addresses.
JSON schema
{
"title": "SplAddressObservation",
"description": "The SPL token transfer recipients an `splAddress` criterion compared. For a raw transaction these are the recipients' token accounts (usually associated token accounts), not their wallet addresses. For `sendEndUserSolAsset` they are wallet addresses.",
"examples": [
{
"addresses": [
"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"
],
"type": "splAddress"
}
],
"type": "object",
"required": [
"addresses",
"type"
],
"properties": {
"addresses": {
"description": "The recipient of each SPL token transfer, in instruction order. Empty when the transaction has none.",
"examples": [
[
"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"
]
],
"type": "array",
"items": {
"description": "A token transfer recipient.",
"type": "string",
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
},
"maxItems": 128
},
"type": {
"description": "The criterion type.",
"examples": [
"splAddress"
],
"type": "string",
"enum": [
"splAddress"
],
"x-go-type": "string"
}
},
"additionalProperties": false
}Fields§
§addresses: Vec<SplAddressObservationAddressesItem>The recipient of each SPL token transfer, in instruction order. Empty when the transaction has none.
type_: SplAddressObservationTypeThe criterion type.
Implementations§
Source§impl SplAddressObservation
impl SplAddressObservation
pub fn builder() -> SplAddressObservation
Trait Implementations§
Source§impl Clone for SplAddressObservation
impl Clone for SplAddressObservation
Source§impl Debug for SplAddressObservation
impl Debug for SplAddressObservation
Source§impl<'de> Deserialize<'de> for SplAddressObservation
impl<'de> Deserialize<'de> for SplAddressObservation
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<&SplAddressObservation> for SplAddressObservation
impl From<&SplAddressObservation> for SplAddressObservation
Source§fn from(value: &SplAddressObservation) -> Self
fn from(value: &SplAddressObservation) -> Self
Converts to this type from the input type.
Source§impl From<SplAddressObservation> for PolicyCriterionObservation
impl From<SplAddressObservation> for PolicyCriterionObservation
Source§fn from(value: SplAddressObservation) -> Self
fn from(value: SplAddressObservation) -> Self
Converts to this type from the input type.
Source§impl From<SplAddressObservation> for SplAddressObservation
impl From<SplAddressObservation> for SplAddressObservation
Source§fn from(value: SplAddressObservation) -> Self
fn from(value: SplAddressObservation) -> Self
Converts to this type from the input type.
Source§impl Serialize for SplAddressObservation
impl Serialize for SplAddressObservation
Source§impl TryFrom<SplAddressObservation> for SplAddressObservation
impl TryFrom<SplAddressObservation> for SplAddressObservation
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SplAddressObservation) -> Result<Self, ConversionError>
fn try_from(value: SplAddressObservation) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SplAddressObservation
impl RefUnwindSafe for SplAddressObservation
impl Send for SplAddressObservation
impl Sync for SplAddressObservation
impl Unpin for SplAddressObservation
impl UnsafeUnpin for SplAddressObservation
impl UnwindSafe for SplAddressObservation
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