Struct switchboard_program::FastRoundResultAccountData [−][src]
#[repr(C)]pub struct FastRoundResultAccountData { pub parent: [u8; 32], pub result: FastRoundResult, }
Fields
parent: [u8; 32]result: FastRoundResultTrait Implementations
pub fn only_derive_is_allowed_to_implement_this_trait() where
FastRoundResultAccountData: Sized, [src]fn as_bytes_mut(&mut self) -> &mut [u8] where
Self: FromBytes,
fn as_bytes_mut(&mut self) -> &mut [u8] where
Self: FromBytes, Get the bytes of this value mutably. Read more
Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes. Read more
Deserialize this instance from a slice of bytes.
Whether Self is u8.
NOTE: Vec<u8> is the most common use-case for serialization and deserialization, it’s
worth handling it as a special case to improve performance.
It’s a workaround for specific Vec<u8> implementation versus generic Vec<T>
implementation. See https://github.com/rust-lang/rfcs/pull/1210 for details. Read more
Serialize this instance into a vector of bytes.
Whether Self is u8.
NOTE: Vec<u8> is the most common use-case for serialization and deserialization, it’s
worth handling it as a special case to improve performance.
It’s a workaround for specific Vec<u8> implementation versus generic Vec<T>
implementation. See https://github.com/rust-lang/rfcs/pull/1210 for details. Read more
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for FastRoundResultAccountDataimpl Send for FastRoundResultAccountDataimpl Sync for FastRoundResultAccountDataimpl Unpin for FastRoundResultAccountDataimpl UnwindSafe for FastRoundResultAccountDataBlanket Implementations
pub default fn example() -> TMutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V