#[repr(transparent)]pub struct LexicalId(pub Uuid);Tuple Fields§
§0: UuidImplementations§
Source§impl LexicalId
impl LexicalId
pub const NIL: Self
pub const BOOL: Self
pub const U8: Self
pub const I8: Self
pub const U16: Self
pub const I16: Self
pub const U32: Self
pub const I32: Self
pub const U64: Self
pub const I64: Self
pub const F32: Self
pub const F64: Self
pub const STRING: Self
pub const UUID: Self
pub const OBJECT_ID: Self
pub const SERVICE_ID: Self
pub const VALUE: Self
pub const BYTES: Self
pub const LIFETIME: Self
pub const UNIT: Self
pub const NAMESPACE_OPTION: Uuid
pub const NAMESPACE_BOX: Uuid
pub const NAMESPACE_VEC: Uuid
pub const NAMESPACE_MAP: Uuid
pub const NAMESPACE_SET: Uuid
pub const NAMESPACE_SENDER: Uuid
pub const NAMESPACE_RECEIVER: Uuid
pub const NAMESPACE_RESULT: Uuid
pub const NAMESPACE_ARRAY: Uuid
pub const NAMESPACE_CUSTOM: Uuid
pub const NAMESPACE_SERVICE: Uuid
pub fn option(ty: Self) -> Self
pub fn box_ty(ty: Self) -> Self
pub fn vec(ty: Self) -> Self
pub fn map(key: KeyType, ty: Self) -> Self
pub fn set(key: KeyType) -> Self
pub fn sender(ty: Self) -> Self
pub fn receiver(ty: Self) -> Self
pub fn result(ok: Self, err: Self) -> Self
pub fn array(ty: Self, len: u32) -> Self
pub fn custom(schema: impl AsRef<str>, name: impl AsRef<str>) -> Self
pub fn custom_generic<const N: usize>( schema: impl AsRef<str>, name: impl AsRef<str>, types: &[Self; N], ) -> Self
pub fn service(schema: impl AsRef<str>, name: impl AsRef<str>) -> Self
pub const fn is_nil(self) -> bool
pub fn resolve(self, introspection: &Introspection) -> Option<TypeId>
Trait Implementations§
Source§impl Deserialize for LexicalId
impl Deserialize for LexicalId
fn deserialize( deserializer: Deserializer<'_, '_>, ) -> Result<Self, DeserializeError>
Source§impl DeserializeKey for LexicalId
impl DeserializeKey for LexicalId
type Impl = Uuid
fn try_from_impl(key: Self::Impl) -> Result<Self, DeserializeError>
Source§impl Ord for LexicalId
impl Ord for LexicalId
Source§impl PartialOrd for LexicalId
impl PartialOrd for LexicalId
Source§impl Serialize for LexicalId
impl Serialize for LexicalId
fn serialize(&self, serializer: Serializer<'_>) -> Result<(), SerializeError>
Source§impl SerializeKey for LexicalId
impl SerializeKey for LexicalId
impl Copy for LexicalId
impl Eq for LexicalId
impl StructuralPartialEq for LexicalId
Auto Trait Implementations§
impl Freeze for LexicalId
impl RefUnwindSafe for LexicalId
impl Send for LexicalId
impl Sync for LexicalId
impl Unpin for LexicalId
impl UnwindSafe for LexicalId
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