pub enum B2ReplicationConfig {
AsReplicationSource {
replication_rules: Vec<B2ReplicationRule>,
source_application_key_id: String,
},
AsReplicationDestination {
source_application_key_id: HashMap<String, String>,
},
}Variants§
Trait Implementations§
Source§impl Clone for B2ReplicationConfig
impl Clone for B2ReplicationConfig
Source§fn clone(&self) -> B2ReplicationConfig
fn clone(&self) -> B2ReplicationConfig
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 B2ReplicationConfig
impl Debug for B2ReplicationConfig
Source§impl<'de> Deserialize<'de> for B2ReplicationConfig
impl<'de> Deserialize<'de> for B2ReplicationConfig
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
Auto Trait Implementations§
impl Freeze for B2ReplicationConfig
impl RefUnwindSafe for B2ReplicationConfig
impl Send for B2ReplicationConfig
impl Sync for B2ReplicationConfig
impl Unpin for B2ReplicationConfig
impl UnwindSafe for B2ReplicationConfig
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