pub struct VirtualPoolMetadata {
pub virtual_pool: Pubkey,
pub padding: [u128; 6],
pub name: String,
pub website: String,
pub logo: String,
}Fields§
§virtual_pool: Pubkey§padding: [u128; 6]§name: String§website: String§logo: StringTrait Implementations§
Source§impl BorshDeserialize for VirtualPoolMetadata
impl BorshDeserialize for VirtualPoolMetadata
fn deserialize_reader<R: Read>(reader: &mut R) -> Result<Self, Error>
Source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
Source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl CarbonDeserialize for VirtualPoolMetadata
impl CarbonDeserialize for VirtualPoolMetadata
const DISCRIMINATOR: &'static [u8]
fn deserialize(data: &[u8]) -> Option<Self>
Source§impl Clone for VirtualPoolMetadata
impl Clone for VirtualPoolMetadata
Source§fn clone(&self) -> VirtualPoolMetadata
fn clone(&self) -> VirtualPoolMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VirtualPoolMetadata
impl Debug for VirtualPoolMetadata
Source§impl<'de> Deserialize<'de> for VirtualPoolMetadata
impl<'de> Deserialize<'de> for VirtualPoolMetadata
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
impl Eq for VirtualPoolMetadata
Source§impl Hash for VirtualPoolMetadata
impl Hash for VirtualPoolMetadata
Source§impl PartialEq for VirtualPoolMetadata
impl PartialEq for VirtualPoolMetadata
Source§fn eq(&self, other: &VirtualPoolMetadata) -> bool
fn eq(&self, other: &VirtualPoolMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VirtualPoolMetadata
impl Serialize for VirtualPoolMetadata
impl StructuralPartialEq for VirtualPoolMetadata
Auto Trait Implementations§
impl Freeze for VirtualPoolMetadata
impl RefUnwindSafe for VirtualPoolMetadata
impl Send for VirtualPoolMetadata
impl Sync for VirtualPoolMetadata
impl Unpin for VirtualPoolMetadata
impl UnsafeUnpin for VirtualPoolMetadata
impl UnwindSafe for VirtualPoolMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more