#[repr(C)]
pub enum CollectionToggle {
None,
Clear,
Set(Collection),
}
Variants§
Implementations§
Trait Implementations§
source§impl BorshDeserialize for CollectionTogglewhere
Collection: BorshDeserialize,
impl BorshDeserialize for CollectionTogglewhere
Collection: BorshDeserialize,
source§impl BorshSerialize for CollectionTogglewhere
Collection: BorshSerialize,
impl BorshSerialize for CollectionTogglewhere
Collection: BorshSerialize,
source§impl Clone for CollectionToggle
impl Clone for CollectionToggle
source§fn clone(&self) -> CollectionToggle
fn clone(&self) -> CollectionToggle
Returns a copy 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 CollectionToggle
impl Debug for CollectionToggle
source§impl PartialEq<CollectionToggle> for CollectionToggle
impl PartialEq<CollectionToggle> for CollectionToggle
source§fn eq(&self, other: &CollectionToggle) -> bool
fn eq(&self, other: &CollectionToggle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.