pub struct ContentTypeProfileConfig {
pub forward_when_content_type_is_unknown: bool,
pub content_type_profiles: Option<ContentTypeProfiles>,
}Fields§
§forward_when_content_type_is_unknown: bool§content_type_profiles: Option<ContentTypeProfiles>Trait Implementations§
Source§impl Clone for ContentTypeProfileConfig
impl Clone for ContentTypeProfileConfig
Source§fn clone(&self) -> ContentTypeProfileConfig
fn clone(&self) -> ContentTypeProfileConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ContentTypeProfileConfig
impl Debug for ContentTypeProfileConfig
Source§impl Default for ContentTypeProfileConfig
impl Default for ContentTypeProfileConfig
Source§fn default() -> ContentTypeProfileConfig
fn default() -> ContentTypeProfileConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContentTypeProfileConfig
impl<'de> Deserialize<'de> for ContentTypeProfileConfig
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 ContentTypeProfileConfig
impl RefUnwindSafe for ContentTypeProfileConfig
impl Send for ContentTypeProfileConfig
impl Sync for ContentTypeProfileConfig
impl Unpin for ContentTypeProfileConfig
impl UnsafeUnpin for ContentTypeProfileConfig
impl UnwindSafe for ContentTypeProfileConfig
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