Struct poem_openapi::types::Any [−][src]
pub struct Any<T>(pub T);
Expand description
A any type.
Tuple Fields
0: T
Trait Implementations
Parse from serde_json::Value
.
Convert this value to serde_json::Value
.
type RawValueType = T
type RawValueType = T
The raw type used for validator. Read more
Get schema reference of this type.
Returns a reference to the raw value.
If it is true
, it means that this value is required.
Auto Trait Implementations
impl<T> RefUnwindSafe for Any<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Any<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
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