pub enum TransferType {
Internal,
OssAcc,
}Expand description
Data transfer link used for cross-region replication.
This type uses a manual Deserialize impl instead of the #[derive]
version because quick-xml 0.39 treats derived enums specially when they
appear as the text content of an element (<Type>oss_acc</Type>): it tries
to interpret the element tag (Type) as the variant name rather than the
text. The manual impl deserializes to a String first and then picks the
variant.
Variants§
Trait Implementations§
Source§impl Clone for TransferType
impl Clone for TransferType
Source§fn clone(&self) -> TransferType
fn clone(&self) -> TransferType
Returns a duplicate 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 TransferType
impl Debug for TransferType
Source§impl Default for TransferType
impl Default for TransferType
Source§fn default() -> TransferType
fn default() -> TransferType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransferType
impl<'de> Deserialize<'de> for TransferType
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 for TransferType
impl PartialEq for TransferType
Source§impl Serialize for TransferType
impl Serialize for TransferType
impl Copy for TransferType
impl Eq for TransferType
impl StructuralPartialEq for TransferType
Auto Trait Implementations§
impl Freeze for TransferType
impl RefUnwindSafe for TransferType
impl Send for TransferType
impl Sync for TransferType
impl Unpin for TransferType
impl UnsafeUnpin for TransferType
impl UnwindSafe for TransferType
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