pub struct CorsRule { /* private fields */ }Expand description
A rule to determine CORS behavior of B2 buckets.
See https://www.backblaze.com/b2/docs/cors_rules.html for further information on CORS and file access via the B2 service.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for CorsRule
impl<'de> Deserialize<'de> for CorsRule
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
Auto Trait Implementations
impl RefUnwindSafe for CorsRule
impl Send for CorsRule
impl Sync for CorsRule
impl Unpin for CorsRule
impl UnwindSafe for CorsRule
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