pub struct OrderTreeRoot {
pub maybe_node: u32,
pub leaf_count: u32,
}Fields§
§maybe_node: u32§leaf_count: u32Trait Implementations§
Source§impl BorshDeserialize for OrderTreeRootwhere
u32: BorshDeserialize,
impl BorshDeserialize for OrderTreeRootwhere
u32: BorshDeserialize,
Source§impl BorshSerialize for OrderTreeRootwhere
u32: BorshSerialize,
impl BorshSerialize for OrderTreeRootwhere
u32: BorshSerialize,
Source§impl Clone for OrderTreeRoot
impl Clone for OrderTreeRoot
Source§fn clone(&self) -> OrderTreeRoot
fn clone(&self) -> OrderTreeRoot
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 moreimpl Copy for OrderTreeRoot
Source§impl Debug for OrderTreeRoot
impl Debug for OrderTreeRoot
Source§impl Default for OrderTreeRoot
impl Default for OrderTreeRoot
Source§fn default() -> OrderTreeRoot
fn default() -> OrderTreeRoot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OrderTreeRoot
impl RefUnwindSafe for OrderTreeRoot
impl Send for OrderTreeRoot
impl Sync for OrderTreeRoot
impl Unpin for OrderTreeRoot
impl UnsafeUnpin for OrderTreeRoot
impl UnwindSafe for OrderTreeRoot
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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