#[non_exhaustive]pub struct ServerVariable { /* private fields */ }
Expand description
Implements OpenAPI Server Variable used to substitute varibles in Server::url
.
Trait Implementations
sourceimpl Clone for ServerVariable
impl Clone for ServerVariable
sourcefn clone(&self) -> ServerVariable
fn clone(&self) -> ServerVariable
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for ServerVariable
impl Default for ServerVariable
sourcefn default() -> ServerVariable
fn default() -> ServerVariable
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ServerVariable
impl<'de> Deserialize<'de> for ServerVariable
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<ServerVariable> for ServerVariableBuilder
impl From<ServerVariable> for ServerVariableBuilder
sourcefn from(value: ServerVariable) -> Self
fn from(value: ServerVariable) -> Self
Converts to this type from the input type.
sourceimpl From<ServerVariableBuilder> for ServerVariable
impl From<ServerVariableBuilder> for ServerVariable
sourcefn from(value: ServerVariableBuilder) -> Self
fn from(value: ServerVariableBuilder) -> Self
Converts to this type from the input type.
sourceimpl Serialize for ServerVariable
impl Serialize for ServerVariable
Auto Trait Implementations
impl RefUnwindSafe for ServerVariable
impl Send for ServerVariable
impl Sync for ServerVariable
impl Unpin for ServerVariable
impl UnwindSafe for ServerVariable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more