Enum sui_sdk_types::types::IntentVersion
source · #[non_exhaustive]#[repr(u8)]pub enum IntentVersion {
V0 = 0,
}
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.
V0 = 0
Trait Implementations§
source§impl Clone for IntentVersion
impl Clone for IntentVersion
source§fn clone(&self) -> IntentVersion
fn clone(&self) -> IntentVersion
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 IntentVersion
impl Debug for IntentVersion
source§impl PartialEq for IntentVersion
impl PartialEq for IntentVersion
impl Copy for IntentVersion
impl Eq for IntentVersion
impl StructuralPartialEq for IntentVersion
Auto Trait Implementations§
impl Freeze for IntentVersion
impl RefUnwindSafe for IntentVersion
impl Send for IntentVersion
impl Sync for IntentVersion
impl Unpin for IntentVersion
impl UnwindSafe for IntentVersion
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
)