Struct aliri_braid_examples::validated::ScopeTokenRef [−][src]
#[repr(transparent)]pub struct ScopeTokenRef(_);
Expand description
A borrowed reference to a ScopeToken
Implementations
Transparently reinterprets the string slice as a strongly-typed ScopeTokenRef if it conforms to ScopeToken
Transparently reinterprets the string slice as a strongly-typed ScopeTokenRef without validating
Converts a Box<ScopeTokenRef>
into a ScopeToken
without copying or allocating
Trait Implementations
Performs the conversion.
Immutably borrows from an owned value. Read more
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Owned = ScopeToken
type Owned = ScopeToken
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
type Error = <ScopeToken as Validator>::Error
type Error = <ScopeToken as Validator>::Error
The type returned in the event of a conversion error.
Auto Trait Implementations
impl RefUnwindSafe for ScopeTokenRef
impl Send for ScopeTokenRef
impl !Sized for ScopeTokenRef
impl Sync for ScopeTokenRef
impl Unpin for ScopeTokenRef
impl UnwindSafe for ScopeTokenRef