Struct fuel_types::ContractId
source · [−]pub struct ContractId(_);
Expand description
FuelVM atomic type.
Implementations
sourceimpl ContractId
impl ContractId
sourcepub const fn zeroed() -> ContractId
pub const fn zeroed() -> ContractId
Zeroes bytes constructor.
sourceimpl ContractId
impl ContractId
Trait Implementations
sourceimpl Clone for ContractId
impl Clone for ContractId
sourcefn clone(&self) -> ContractId
fn clone(&self) -> ContractId
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 ContractId
impl Debug for ContractId
sourceimpl Default for ContractId
impl Default for ContractId
sourcefn default() -> ContractId
fn default() -> ContractId
Returns the “default value” for a type. Read more
sourceimpl Deref for ContractId
impl Deref for ContractId
sourceimpl DerefMut for ContractId
impl DerefMut for ContractId
sourceimpl Display for ContractId
impl Display for ContractId
sourceimpl FromStr for ContractId
impl FromStr for ContractId
sourceimpl Hash for ContractId
impl Hash for ContractId
sourceimpl LowerHex for ContractId
impl LowerHex for ContractId
sourceimpl Ord for ContractId
impl Ord for ContractId
sourceimpl PartialEq<ContractId> for ContractId
impl PartialEq<ContractId> for ContractId
sourcefn eq(&self, other: &ContractId) -> bool
fn eq(&self, other: &ContractId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ContractId) -> bool
fn ne(&self, other: &ContractId) -> bool
This method tests for !=
.
sourceimpl PartialOrd<ContractId> for ContractId
impl PartialOrd<ContractId> for ContractId
sourcefn partial_cmp(&self, other: &ContractId) -> Option<Ordering>
fn partial_cmp(&self, other: &ContractId) -> 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 TryFrom<&'_ [u8]> for ContractId
impl TryFrom<&'_ [u8]> for ContractId
type Error = TryFromSliceError
type Error = TryFromSliceError
The type returned in the event of a conversion error.
sourcefn try_from(bytes: &[u8]) -> Result<ContractId, TryFromSliceError>
fn try_from(bytes: &[u8]) -> Result<ContractId, TryFromSliceError>
Performs the conversion.
sourceimpl UpperHex for ContractId
impl UpperHex for ContractId
impl Copy for ContractId
impl Eq for ContractId
impl StructuralEq for ContractId
impl StructuralPartialEq for ContractId
Auto Trait Implementations
impl RefUnwindSafe for ContractId
impl Send for ContractId
impl Sync for ContractId
impl Unpin for ContractId
impl UnwindSafe for ContractId
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more