pub struct MintAddressObservation {
pub addresses: Vec<MintAddressObservationAddressesItem>,
pub type_: MintAddressObservationType,
}Expand description
The token mints of the SPL token transfers a mintAddress criterion compared.
JSON schema
{
"title": "MintAddressObservation",
"description": "The token mints of the SPL token transfers a `mintAddress` criterion compared.",
"examples": [
{
"addresses": [
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
],
"type": "mintAddress"
}
],
"type": "object",
"required": [
"addresses",
"type"
],
"properties": {
"addresses": {
"description": "The mint of each SPL token transfer, in instruction order. Empty when the transaction has none.",
"examples": [
[
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
]
],
"type": "array",
"items": {
"description": "A token mint.",
"type": "string",
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
},
"maxItems": 128
},
"type": {
"description": "The criterion type.",
"examples": [
"mintAddress"
],
"type": "string",
"enum": [
"mintAddress"
],
"x-go-type": "string"
}
},
"additionalProperties": false
}Fields§
§addresses: Vec<MintAddressObservationAddressesItem>The mint of each SPL token transfer, in instruction order. Empty when the transaction has none.
type_: MintAddressObservationTypeThe criterion type.
Implementations§
Source§impl MintAddressObservation
impl MintAddressObservation
pub fn builder() -> MintAddressObservation
Trait Implementations§
Source§impl Clone for MintAddressObservation
impl Clone for MintAddressObservation
Source§impl Debug for MintAddressObservation
impl Debug for MintAddressObservation
Source§impl<'de> Deserialize<'de> for MintAddressObservation
impl<'de> Deserialize<'de> for MintAddressObservation
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<&MintAddressObservation> for MintAddressObservation
impl From<&MintAddressObservation> for MintAddressObservation
Source§fn from(value: &MintAddressObservation) -> Self
fn from(value: &MintAddressObservation) -> Self
Converts to this type from the input type.
Source§impl From<MintAddressObservation> for PolicyCriterionObservation
impl From<MintAddressObservation> for PolicyCriterionObservation
Source§fn from(value: MintAddressObservation) -> Self
fn from(value: MintAddressObservation) -> Self
Converts to this type from the input type.
Source§impl From<MintAddressObservation> for MintAddressObservation
impl From<MintAddressObservation> for MintAddressObservation
Source§fn from(value: MintAddressObservation) -> Self
fn from(value: MintAddressObservation) -> Self
Converts to this type from the input type.
Source§impl Serialize for MintAddressObservation
impl Serialize for MintAddressObservation
Source§impl TryFrom<MintAddressObservation> for MintAddressObservation
impl TryFrom<MintAddressObservation> for MintAddressObservation
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: MintAddressObservation) -> Result<Self, ConversionError>
fn try_from(value: MintAddressObservation) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for MintAddressObservation
impl RefUnwindSafe for MintAddressObservation
impl Send for MintAddressObservation
impl Sync for MintAddressObservation
impl Unpin for MintAddressObservation
impl UnsafeUnpin for MintAddressObservation
impl UnwindSafe for MintAddressObservation
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