Struct poem_openapi::types::Base64
source · [−]pub struct Base64<T>(pub T);
Expand description
Represents a binary data encoded with base64.
Tuple Fields
0: T
Trait Implementations
Parse from serde_json::Value
.
Parse from JSON string.
Parse from serde_json::Value
.
Parse from JSON string.
Parse from parameter.
fn parse_from_parameters<I: IntoIterator<Item = A>, A: AsRef<str>>(
iter: I
) -> ParseResult<Self>
fn parse_from_parameters<I: IntoIterator<Item = A>, A: AsRef<str>>(
iter: I
) -> ParseResult<Self>
Parse from multiple parameters.
Parse from parameter.
fn parse_from_parameters<I: IntoIterator<Item = A>, A: AsRef<str>>(
iter: I
) -> ParseResult<Self>
fn parse_from_parameters<I: IntoIterator<Item = A>, A: AsRef<str>>(
iter: I
) -> ParseResult<Self>
Parse from multiple parameters.
If it is true
, it means that this type is required.
type RawValueType = Self
type RawValueType = Self
The raw type used for validator. Read more
type RawElementValueType = Self
type RawElementValueType = Self
The raw element type used for validator.
Get schema reference of this type.
Returns a reference to the raw value.
fn raw_element_iter<'a>(
&'a self
) -> Box<dyn Iterator<Item = &'a Self::RawElementValueType> + 'a>
fn raw_element_iter<'a>(
&'a self
) -> Box<dyn Iterator<Item = &'a Self::RawElementValueType> + 'a>
Returns an iterator for traversing the elements.
Auto Trait Implementations
impl<T> RefUnwindSafe for Base64<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Base64<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more