str
Module: str
Section titled “Module: str”Contents
Section titled “Contents”Structs
Str- Shared (de)serializable string that avoids allocating if possible
firma_http::str::Str
Section titled “firma_http::str::Str”Struct
Shared (de)serializable string that avoids allocating if possible
Without it, deserializing to &str b""" or any multi byte UTF8 char would result in a panic
Generic Parameters:
- ‘a
Tuple Struct: (std::borrow::Cow<'a, str>)
Traits: Eq
Trait Implementations:
- From
fn from(value: &'a T) -> Self
- From
fn from(value: &'a str) -> Self
- Display
fn fmt(self: &Self, f: & mut std::fmt::Formatter) -> std::fmt::Result
- Deref
fn deref(self: &Self) -> &<Self as >::Target
- Serialize
fn serialize<__S>(self: &Self, __serializer: __S) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>
- Deserialize
fn deserialize<__D>(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>
- PartialEq
fn eq(self: &Self, other: &Str<'a>) -> bool
- Clone
fn clone(self: &Self) -> Str<'a>
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
- From
fn from(value: String) -> Self