Enum sui_sdk_types::types::IntentAppId
source · #[non_exhaustive]#[repr(u8)]pub enum IntentAppId {
Sui = 0,
Narwhal = 1,
Consensus = 2,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for IntentAppId
impl Clone for IntentAppId
source§fn clone(&self) -> IntentAppId
fn clone(&self) -> IntentAppId
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 IntentAppId
impl Debug for IntentAppId
source§impl PartialEq for IntentAppId
impl PartialEq for IntentAppId
impl Copy for IntentAppId
impl Eq for IntentAppId
impl StructuralPartialEq for IntentAppId
Auto Trait Implementations§
impl Freeze for IntentAppId
impl RefUnwindSafe for IntentAppId
impl Send for IntentAppId
impl Sync for IntentAppId
impl Unpin for IntentAppId
impl UnwindSafe for IntentAppId
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self
to type T
. The semantics of numeric casting with the as
operator are followed, so <T as As>::as_::<U>
can be used in the same way as T as U
for numeric conversions. Read moresource§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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)