Enum linera_execution::ApplicationId 
source · pub enum ApplicationId {
    System,
    User(UserApplicationId),
}Expand description
A unique identifier for an application.
Variants§
Implementations§
source§impl ApplicationId
 
impl ApplicationId
pub fn user_application_id(&self) -> Option<&UserApplicationId>
Trait Implementations§
source§impl Clone for ApplicationId
 
impl Clone for ApplicationId
source§fn clone(&self) -> ApplicationId
 
fn clone(&self) -> ApplicationId
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 ApplicationId
 
impl Debug for ApplicationId
source§impl<'de> Deserialize<'de> for ApplicationId
 
impl<'de> Deserialize<'de> for ApplicationId
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 From<ApplicationId<()>> for ApplicationId
 
impl From<ApplicationId<()>> for ApplicationId
source§fn from(user_application_id: UserApplicationId) -> Self
 
fn from(user_application_id: UserApplicationId) -> Self
Converts to this type from the input type.
source§impl Hash for ApplicationId
 
impl Hash for ApplicationId
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 Ord for ApplicationId
 
impl Ord for ApplicationId
source§fn cmp(&self, other: &ApplicationId) -> Ordering
 
fn cmp(&self, other: &ApplicationId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
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,
    __arg1: &'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, __arg1: &'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 PartialEq<ApplicationId> for ApplicationId
 
impl PartialEq<ApplicationId> for ApplicationId
source§fn eq(&self, other: &ApplicationId) -> bool
 
fn eq(&self, other: &ApplicationId) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ApplicationId> for ApplicationId
 
impl PartialOrd<ApplicationId> for ApplicationId
source§fn partial_cmp(&self, other: &ApplicationId) -> Option<Ordering>
 
fn partial_cmp(&self, other: &ApplicationId) -> Option<Ordering>
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 Serialize for ApplicationId
 
impl Serialize for ApplicationId
impl Copy for ApplicationId
impl Eq for ApplicationId
impl StructuralEq for ApplicationId
impl StructuralPartialEq for ApplicationId
Auto Trait Implementations§
impl RefUnwindSafe for ApplicationId
impl Send for ApplicationId
impl Sync for ApplicationId
impl Unpin for ApplicationId
impl UnwindSafe for ApplicationId
Blanket Implementations§
§impl<T> ArchivePointee for T
 
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
 
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
    _: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
 
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
    W: DeserializeWith<F, T, D>,
    D: Fallible + ?Sized,
    F: ?Sized,
 
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,
§fn deserialize(
    &self,
    deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
 
fn deserialize( &self, deserializer: &mut D ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
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.§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,
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<T> Instrument for T
 
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
 
impl<T> Pointable for T
§impl<T> Upcastable for Twhere
    T: Any + Send + Sync + 'static,
 
impl<T> Upcastable for Twhere T: Any + Send + Sync + 'static,
§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
 
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
 
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref