pub struct CompressionInfoV2 {
pub closed_accounts: Vec<ClosedAccountWithOptionalTokenDataV2>,
pub opened_accounts: Vec<AccountWithOptionalTokenDataV2>,
}Expand description
CompressionInfoV2
JSON schema
{
"type": "object",
"required": [
"closedAccounts",
"openedAccounts"
],
"properties": {
"closedAccounts": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ClosedAccountWithOptionalTokenDataV2"
}
},
"openedAccounts": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AccountWithOptionalTokenDataV2"
}
}
},
"additionalProperties": false
}Fields§
§closed_accounts: Vec<ClosedAccountWithOptionalTokenDataV2>§opened_accounts: Vec<AccountWithOptionalTokenDataV2>Implementations§
Source§impl CompressionInfoV2
impl CompressionInfoV2
pub fn builder() -> CompressionInfoV2
Trait Implementations§
Source§impl Clone for CompressionInfoV2
impl Clone for CompressionInfoV2
Source§fn clone(&self) -> CompressionInfoV2
fn clone(&self) -> CompressionInfoV2
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 Debug for CompressionInfoV2
impl Debug for CompressionInfoV2
Source§impl<'de> Deserialize<'de> for CompressionInfoV2
impl<'de> Deserialize<'de> for CompressionInfoV2
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<CompressionInfoV2> for CompressionInfoV2
impl From<CompressionInfoV2> for CompressionInfoV2
Source§fn from(value: CompressionInfoV2) -> Self
fn from(value: CompressionInfoV2) -> Self
Converts to this type from the input type.
Source§impl Serialize for CompressionInfoV2
impl Serialize for CompressionInfoV2
Source§impl TryFrom<CompressionInfoV2> for CompressionInfoV2
impl TryFrom<CompressionInfoV2> for CompressionInfoV2
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: CompressionInfoV2) -> Result<Self, ConversionError>
fn try_from(value: CompressionInfoV2) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CompressionInfoV2
impl RefUnwindSafe for CompressionInfoV2
impl Send for CompressionInfoV2
impl Sync for CompressionInfoV2
impl Unpin for CompressionInfoV2
impl UnsafeUnpin for CompressionInfoV2
impl UnwindSafe for CompressionInfoV2
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