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: MessageIdImplementations§
source§impl BytecodeId
impl BytecodeId
source§impl<A> BytecodeId<A>
impl<A> BytecodeId<A>
pub fn forget_abi(self) -> BytecodeId
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§fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
_: &'life1 ContextSelectionSet<'life2>,
_field: &'life3 Positioned<Field>
) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field> ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,
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<BytecodeId<A>> for BytecodeId<A>
impl<A: PartialEq> PartialEq<BytecodeId<A>> for BytecodeId<A>
source§impl<A: PartialOrd> PartialOrd<BytecodeId<A>> for BytecodeId<A>
impl<A: PartialOrd> PartialOrd<BytecodeId<A>> 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> 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> 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.