Enum fuel_core::database::resource::ResourceId
source · pub enum ResourceId {
Utxo(UtxoId),
Message(MessageId),
}
Expand description
The id of the resource.
Variants§
Trait Implementations§
source§impl Clone for ResourceId
impl Clone for ResourceId
source§fn clone(&self) -> ResourceId
fn clone(&self) -> ResourceId
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 ResourceId
impl Debug for ResourceId
source§impl PartialEq<ResourceId> for ResourceId
impl PartialEq<ResourceId> for ResourceId
source§fn eq(&self, other: &ResourceId) -> bool
fn eq(&self, other: &ResourceId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ResourceId
impl StructuralEq for ResourceId
impl StructuralPartialEq for ResourceId
Auto Trait Implementations§
impl RefUnwindSafe for ResourceId
impl Send for ResourceId
impl Sync for ResourceId
impl Unpin for ResourceId
impl UnwindSafe for ResourceId
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.