Enum phase_protocol_sdk::state::roadmap::RoadmapGovType
source · [−]pub enum RoadmapGovType {
NFT,
SPL,
}Variants
NFT
SPL
Trait Implementations
sourceimpl BorshDeserialize for RoadmapGovType
impl BorshDeserialize for RoadmapGovType
sourcefn 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. Read more
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.
sourceimpl BorshSerialize for RoadmapGovType
impl BorshSerialize for RoadmapGovType
sourceimpl Clone for RoadmapGovType
impl Clone for RoadmapGovType
sourcefn clone(&self) -> RoadmapGovType
fn clone(&self) -> RoadmapGovType
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for RoadmapGovType
impl Debug for RoadmapGovType
sourceimpl PartialEq<RoadmapGovType> for RoadmapGovType
impl PartialEq<RoadmapGovType> for RoadmapGovType
sourcefn eq(&self, other: &RoadmapGovType) -> bool
fn eq(&self, other: &RoadmapGovType) -> bool
impl StructuralPartialEq for RoadmapGovType
Auto Trait Implementations
impl RefUnwindSafe for RoadmapGovType
impl Send for RoadmapGovType
impl Sync for RoadmapGovType
impl Unpin for RoadmapGovType
impl UnwindSafe for RoadmapGovType
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more