Enum stellar_xdr::EnvelopeType
source · [−]#[repr(i32)]
pub enum EnvelopeType {
TxV0,
Scp,
Tx,
Auth,
Scpvalue,
TxFeeBump,
OpId,
PoolRevokeOpId,
ContractIdFromEd25519,
ContractIdFromContract,
}
Variants
TxV0
Scp
Tx
Auth
Scpvalue
TxFeeBump
OpId
PoolRevokeOpId
ContractIdFromEd25519
ContractIdFromContract
Implementations
sourceimpl EnvelopeType
impl EnvelopeType
Trait Implementations
sourceimpl Clone for EnvelopeType
impl Clone for EnvelopeType
sourcefn clone(&self) -> EnvelopeType
fn clone(&self) -> EnvelopeType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EnvelopeType
impl Debug for EnvelopeType
sourceimpl<'de> Deserialize<'de> for EnvelopeType
impl<'de> Deserialize<'de> for EnvelopeType
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Discriminant<EnvelopeType> for FeeBumpTransactionInnerTx
impl Discriminant<EnvelopeType> for FeeBumpTransactionInnerTx
fn discriminant(&self) -> EnvelopeType
sourceimpl Discriminant<EnvelopeType> for HashIdPreimage
impl Discriminant<EnvelopeType> for HashIdPreimage
fn discriminant(&self) -> EnvelopeType
sourceimpl Discriminant<EnvelopeType> for TransactionEnvelope
impl Discriminant<EnvelopeType> for TransactionEnvelope
fn discriminant(&self) -> EnvelopeType
sourceimpl Discriminant<EnvelopeType> for TransactionSignaturePayloadTaggedTransaction
impl Discriminant<EnvelopeType> for TransactionSignaturePayloadTaggedTransaction
fn discriminant(&self) -> EnvelopeType
sourceimpl Display for EnvelopeType
impl Display for EnvelopeType
sourceimpl From<EnvelopeType> for i32
impl From<EnvelopeType> for i32
sourcefn from(e: EnvelopeType) -> Self
fn from(e: EnvelopeType) -> Self
Converts to this type from the input type.
sourceimpl Hash for EnvelopeType
impl Hash for EnvelopeType
sourceimpl Ord for EnvelopeType
impl Ord for EnvelopeType
sourcefn cmp(&self, other: &EnvelopeType) -> Ordering
fn cmp(&self, other: &EnvelopeType) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<EnvelopeType> for EnvelopeType
impl PartialEq<EnvelopeType> for EnvelopeType
sourceimpl PartialOrd<EnvelopeType> for EnvelopeType
impl PartialOrd<EnvelopeType> for EnvelopeType
sourcefn partial_cmp(&self, other: &EnvelopeType) -> Option<Ordering>
fn partial_cmp(&self, other: &EnvelopeType) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl ReadXdr for EnvelopeType
impl ReadXdr for EnvelopeType
fn read_xdr(r: &mut impl Read) -> Result<Self, Error>
fn read_xdr_into(&mut self, r: &mut impl Read) -> Result<(), Error>
fn read_xdr_iter<R: Read>(r: &mut R) -> ReadXdrIter<'_, R, Self>ⓘNotable traits for ReadXdrIter<'r, R, S>impl<'r, R: Read, S: ReadXdr> Iterator for ReadXdrIter<'r, R, S> type Item = Result<S, Error>;
fn from_xdr<B: AsRef<[u8]>>(bytes: B) -> Result<Self, Error>
fn from_xdr_base64(b64: String) -> Result<Self, Error>
sourceimpl Serialize for EnvelopeType
impl Serialize for EnvelopeType
sourceimpl TryFrom<i32> for EnvelopeType
impl TryFrom<i32> for EnvelopeType
sourceimpl Variants<EnvelopeType> for EnvelopeType
impl Variants<EnvelopeType> for EnvelopeType
fn variants() -> Iter<'static, EnvelopeType>
sourceimpl Variants<EnvelopeType> for FeeBumpTransactionInnerTx
impl Variants<EnvelopeType> for FeeBumpTransactionInnerTx
fn variants() -> Iter<'static, EnvelopeType>
sourceimpl Variants<EnvelopeType> for HashIdPreimage
impl Variants<EnvelopeType> for HashIdPreimage
fn variants() -> Iter<'static, EnvelopeType>
sourceimpl Variants<EnvelopeType> for TransactionEnvelope
impl Variants<EnvelopeType> for TransactionEnvelope
fn variants() -> Iter<'static, EnvelopeType>
sourceimpl Variants<EnvelopeType> for TransactionSignaturePayloadTaggedTransaction
impl Variants<EnvelopeType> for TransactionSignaturePayloadTaggedTransaction
fn variants() -> Iter<'static, EnvelopeType>
sourceimpl WriteXdr for EnvelopeType
impl WriteXdr for EnvelopeType
impl Copy for EnvelopeType
impl Enum for EnvelopeType
impl Eq for EnvelopeType
impl StructuralEq for EnvelopeType
impl StructuralPartialEq for EnvelopeType
impl Union<EnvelopeType> for FeeBumpTransactionInnerTx
impl Union<EnvelopeType> for HashIdPreimage
impl Union<EnvelopeType> for TransactionEnvelope
impl Union<EnvelopeType> for TransactionSignaturePayloadTaggedTransaction
Auto Trait Implementations
impl RefUnwindSafe for EnvelopeType
impl Send for EnvelopeType
impl Sync for EnvelopeType
impl Unpin for EnvelopeType
impl UnwindSafe for EnvelopeType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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