Enum openapi_schema::TransferProtocol
source · pub enum TransferProtocol {
Http,
Https,
Ws,
Wss,
}
Expand description
TransferProtocol
A list of protocol
Variants§
Trait Implementations§
source§impl Clone for TransferProtocol
impl Clone for TransferProtocol
source§fn clone(&self) -> TransferProtocol
fn clone(&self) -> TransferProtocol
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TransferProtocol
impl Debug for TransferProtocol
source§impl Default for TransferProtocol
impl Default for TransferProtocol
source§fn default() -> TransferProtocol
fn default() -> TransferProtocol
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TransferProtocol
impl<'de> Deserialize<'de> for TransferProtocol
source§fn 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
source§impl PartialEq<TransferProtocol> for TransferProtocol
impl PartialEq<TransferProtocol> for TransferProtocol
source§fn eq(&self, other: &TransferProtocol) -> bool
fn eq(&self, other: &TransferProtocol) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TransferProtocol
impl Serialize for TransferProtocol
impl StructuralPartialEq for TransferProtocol
Auto Trait Implementations§
impl RefUnwindSafe for TransferProtocol
impl Send for TransferProtocol
impl Sync for TransferProtocol
impl Unpin for TransferProtocol
impl UnwindSafe for TransferProtocol
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more