#[non_exhaustive]pub struct StyleGuideContents {
pub contents: Bytes,
pub mime_type: String,
/* private fields */
}Expand description
The style guide contents.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.contents: BytesRequired. The contents of the style guide.
mime_type: StringRequired. The mime type of the content.
Implementations§
Source§impl StyleGuideContents
impl StyleGuideContents
Trait Implementations§
Source§impl Clone for StyleGuideContents
impl Clone for StyleGuideContents
Source§fn clone(&self) -> StyleGuideContents
fn clone(&self) -> StyleGuideContents
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 StyleGuideContents
impl Debug for StyleGuideContents
Source§impl Default for StyleGuideContents
impl Default for StyleGuideContents
Source§fn default() -> StyleGuideContents
fn default() -> StyleGuideContents
Returns the “default value” for a type. Read more
Source§impl Message for StyleGuideContents
impl Message for StyleGuideContents
Source§impl PartialEq for StyleGuideContents
impl PartialEq for StyleGuideContents
impl StructuralPartialEq for StyleGuideContents
Auto Trait Implementations§
impl !Freeze for StyleGuideContents
impl RefUnwindSafe for StyleGuideContents
impl Send for StyleGuideContents
impl Sync for StyleGuideContents
impl Unpin for StyleGuideContents
impl UnsafeUnpin for StyleGuideContents
impl UnwindSafe for StyleGuideContents
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