#[non_exhaustive]#[repr(u8)]pub enum IntentScope {
TransactionData = 0,
TransactionEffects = 1,
CheckpointSummary = 2,
PersonalMessage = 3,
SenderSignedTransaction = 4,
ProofOfPossession = 5,
HeaderDigest = 6,
BridgeEventUnused = 7,
ConsensusBlock = 8,
}
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.
TransactionData = 0
TransactionEffects = 1
CheckpointSummary = 2
PersonalMessage = 3
SenderSignedTransaction = 4
ProofOfPossession = 5
HeaderDigest = 6
BridgeEventUnused = 7
ConsensusBlock = 8
Trait Implementations§
source§impl Clone for IntentScope
impl Clone for IntentScope
source§fn clone(&self) -> IntentScope
fn clone(&self) -> IntentScope
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 IntentScope
impl Debug for IntentScope
source§impl PartialEq for IntentScope
impl PartialEq for IntentScope
impl Copy for IntentScope
impl Eq for IntentScope
impl StructuralPartialEq for IntentScope
Auto Trait Implementations§
impl Freeze for IntentScope
impl RefUnwindSafe for IntentScope
impl Send for IntentScope
impl Sync for IntentScope
impl Unpin for IntentScope
impl UnwindSafe for IntentScope
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
)