Struct switchboard_utils::FastRoundResultAccountData [−][src]
#[repr(C)]pub struct FastRoundResultAccountData { pub parent: PubkeyBuffer, pub result: FastRoundResult, }
Fields
parent: PubkeyBuffer
result: FastRoundResult
Trait Implementations
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 FastRoundResultAccountData
impl Send for FastRoundResultAccountData
impl Sync for FastRoundResultAccountData
impl Unpin for FastRoundResultAccountData
impl UnwindSafe for FastRoundResultAccountData
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V