Struct linera_base::identifiers::ApplicationId
source · pub struct ApplicationId<A = ()> {
pub bytecode_id: BytecodeId<A>,
pub creation: MessageId,
}Expand description
A unique identifier for a user application.
Fields§
§bytecode_id: BytecodeId<A>The bytecode to use for the application.
creation: MessageIdThe unique ID of the application’s creation.
Implementations§
source§impl ApplicationId
impl ApplicationId
pub fn with_abi<A>(self) -> ApplicationId<A>
source§impl<A> ApplicationId<A>
impl<A> ApplicationId<A>
pub fn forget_abi(self) -> ApplicationId
Trait Implementations§
source§impl<A> Clone for ApplicationId<A>
impl<A> Clone for ApplicationId<A>
source§impl<A> Debug for ApplicationId<A>
impl<A> Debug for ApplicationId<A>
source§impl<'de, A> Deserialize<'de> for ApplicationId<A>
impl<'de, A> Deserialize<'de> for ApplicationId<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 ApplicationId
impl Display for ApplicationId
source§impl FromStr for ApplicationId
impl FromStr for ApplicationId
source§impl<A> Hash for ApplicationId<A>
impl<A> Hash for ApplicationId<A>
source§impl InputType for ApplicationId
impl InputType for ApplicationId
§type RawValueType = ApplicationId
type RawValueType = ApplicationId
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 ApplicationId<A>
impl<A: Ord> Ord for ApplicationId<A>
source§impl OutputType for ApplicationId
impl OutputType for ApplicationId
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 for ApplicationId<A>
impl<A: PartialEq> PartialEq for ApplicationId<A>
source§impl<A: PartialOrd> PartialOrd for ApplicationId<A>
impl<A: PartialOrd> PartialOrd for ApplicationId<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 ApplicationId
impl ScalarType for ApplicationId
source§impl<A> Serialize for ApplicationId<A>
impl<A> Serialize for ApplicationId<A>
impl<A> Copy for ApplicationId<A>
impl<A: Eq> Eq for ApplicationId<A>
Auto Trait Implementations§
impl<A> RefUnwindSafe for ApplicationId<A>where A: RefUnwindSafe,
impl<A> Send for ApplicationId<A>where A: Send,
impl<A> Sync for ApplicationId<A>where A: Sync,
impl<A> Unpin for ApplicationId<A>where A: Unpin,
impl<A> UnwindSafe for ApplicationId<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.