Enum b2_client::file::BypassGovernance
source · [−]pub enum BypassGovernance {
Yes,
No,
}Expand description
Declare whether to bypass file lock restrictions when performing an action on a File.
Bypassing governance rules requires Capability::BypassGovernance.
Variants
Yes
No
Trait Implementations
sourceimpl Clone for BypassGovernance
impl Clone for BypassGovernance
sourcefn clone(&self) -> BypassGovernance
fn clone(&self) -> BypassGovernance
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 Debug for BypassGovernance
impl Debug for BypassGovernance
sourceimpl<'de> Deserialize<'de> for BypassGovernance
impl<'de> Deserialize<'de> for BypassGovernance
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 Serialize for BypassGovernance
impl Serialize for BypassGovernance
impl Copy for BypassGovernance
Auto Trait Implementations
impl RefUnwindSafe for BypassGovernance
impl Send for BypassGovernance
impl Sync for BypassGovernance
impl Unpin for BypassGovernance
impl UnwindSafe for BypassGovernance
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more