Skip to content

sandbox_id

Structs

  • SandboxId - A Firma-generated identifier for one sandbox execution.
  • SandboxIdParseError - Error returned when text is not a valid SandboxId.

Struct

A Firma-generated identifier for one sandbox execution.

A sandbox ID is not a credential. Parsing proves only that the value is a canonical sbx TypeID backed by an RFC 9562 UUID v7.

Tuple Struct: ()

Methods:

  • fn generate() -> Self - Generate a new sbx identifier.

Traits: Eq, Copy

Trait Implementations:

  • Deserialize
    • fn deserialize<D>(deserializer: D) -> Result<Self, <D as >::Error>
  • Serialize
    • fn serialize<S>(self: &Self, serializer: S) -> Result<<S as >::Ok, <S as >::Error>
  • Display
    • fn fmt(self: &Self, formatter: & mut std::fmt::Formatter) -> std::fmt::Result
  • FromStr
    • fn from_str(value: &str) -> Result<Self, <Self as >::Err>
  • Hash
    • fn hash<__H>(self: &Self, state: & mut __H)
  • Ord
    • fn cmp(self: &Self, other: &SandboxId) -> $crate::cmp::Ordering
  • PartialOrd
    • fn partial_cmp(self: &Self, other: &SandboxId) -> $crate::option::Option<$crate::cmp::Ordering>
  • PartialEq
    • fn eq(self: &Self, other: &SandboxId) -> bool
  • Clone
    • fn clone(self: &Self) -> SandboxId
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result

firma_identifiers::sandbox_id::SandboxIdParseError

Section titled “firma_identifiers::sandbox_id::SandboxIdParseError”

Struct

Error returned when text is not a valid SandboxId.

Tuple Struct: ()

Trait Implementations:

  • Display
    • fn fmt(self: &Self, __formatter: & mut ::core::fmt::Formatter) -> ::core::fmt::Result
  • Error
    • fn source(self: &Self) -> ::core::option::Option<&dyn ::thiserror::__private18::Error>
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result