Struct linera_base::identifiers::BytecodeId
source · pub struct BytecodeId<A = ()> {
pub message_id: MessageId,
/* private fields */
}Expand description
A unique identifier for an application bytecode.
Fields§
§message_id: MessageIdThe message ID that published the bytecode.
Implementations§
source§impl BytecodeId
impl BytecodeId
source§impl<A> BytecodeId<A>
impl<A> BytecodeId<A>
sourcepub fn forget_abi(self) -> BytecodeId
pub fn forget_abi(self) -> BytecodeId
Forgets the ABI of a bytecode ID (if any).
Trait Implementations§
source§impl<A> Clone for BytecodeId<A>
impl<A> Clone for BytecodeId<A>
source§impl<A> Debug for BytecodeId<A>
impl<A> Debug for BytecodeId<A>
source§impl<'de, A> Deserialize<'de> for BytecodeId<A>
impl<'de, A> Deserialize<'de> for BytecodeId<A>
source§fn 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
source§impl Display for BytecodeId
impl Display for BytecodeId
source§impl FromStr for BytecodeId
impl FromStr for BytecodeId
source§impl<A> Hash for BytecodeId<A>
impl<A> Hash for BytecodeId<A>
source§impl InputType for BytecodeId
impl InputType for BytecodeId
§type RawValueType = BytecodeId
type RawValueType = BytecodeId
The raw type used for validator. Read more
source§fn create_type_info(registry: &mut Registry) -> String
fn create_type_info(registry: &mut Registry) -> String
Create type information in the registry and return qualified typename.
source§fn parse(value: Option<Value>) -> InputValueResult<Self>
fn parse(value: Option<Value>) -> InputValueResult<Self>
Parse from
Value. None represents undefined.source§fn as_raw_value(&self) -> Option<&Self::RawValueType>
fn as_raw_value(&self) -> Option<&Self::RawValueType>
Returns a reference to the raw value.
source§fn qualified_type_name() -> String
fn qualified_type_name() -> String
Qualified typename.
source§impl<A: Ord> Ord for BytecodeId<A>
impl<A: Ord> Ord for BytecodeId<A>
source§impl OutputType for BytecodeId
impl OutputType for BytecodeId
source§fn create_type_info(registry: &mut Registry) -> String
fn create_type_info(registry: &mut Registry) -> String
Create type information in the registry and return qualified typename.
source§async fn resolve(
&self,
_: &ContextSelectionSet<'_>,
_field: &Positioned<Field>
) -> ServerResult<Value>
async fn resolve( &self, _: &ContextSelectionSet<'_>, _field: &Positioned<Field> ) -> ServerResult<Value>
Resolve an output value to
async_graphql::Value.source§fn qualified_type_name() -> String
fn qualified_type_name() -> String
Qualified typename.
source§impl<A: PartialEq> PartialEq for BytecodeId<A>
impl<A: PartialEq> PartialEq for BytecodeId<A>
source§impl<A: PartialOrd> PartialOrd for BytecodeId<A>
impl<A: PartialOrd> PartialOrd for BytecodeId<A>
1.0.0 · source§fn 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 moresource§impl ScalarType for BytecodeId
impl ScalarType for BytecodeId
source§impl<A> Serialize for BytecodeId<A>
impl<A> Serialize for BytecodeId<A>
impl<A> Copy for BytecodeId<A>
impl<A: Eq> Eq for BytecodeId<A>
Auto Trait Implementations§
impl<A> Freeze for BytecodeId<A>
impl<A> RefUnwindSafe for BytecodeId<A>where
A: RefUnwindSafe,
impl<A> Send for BytecodeId<A>where
A: Send,
impl<A> Sync for BytecodeId<A>where
A: Sync,
impl<A> Unpin for BytecodeId<A>where
A: Unpin,
impl<A> UnwindSafe for BytecodeId<A>where
A: UnwindSafe,
Blanket Implementations§
source§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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.