Struct google_docs1::api::NamedStyle
source · pub struct NamedStyle {
pub named_style_type: Option<String>,
pub paragraph_style: Option<ParagraphStyle>,
pub text_style: Option<TextStyle>,
}
Expand description
A named style. Paragraphs in the document can inherit their TextStyle and ParagraphStyle from this named style when they have the same named style type.
This type is not used in any activity, and only used as part of another schema.
Fields§
§named_style_type: Option<String>
The type of this named style.
paragraph_style: Option<ParagraphStyle>
The paragraph style of this named style.
text_style: Option<TextStyle>
The text style of this named style.
Trait Implementations§
source§impl Clone for NamedStyle
impl Clone for NamedStyle
source§fn clone(&self) -> NamedStyle
fn clone(&self) -> NamedStyle
Returns a copy 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 NamedStyle
impl Debug for NamedStyle
source§impl Default for NamedStyle
impl Default for NamedStyle
source§fn default() -> NamedStyle
fn default() -> NamedStyle
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NamedStyle
impl<'de> Deserialize<'de> for NamedStyle
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
source§impl Serialize for NamedStyle
impl Serialize for NamedStyle
impl Part for NamedStyle
Auto Trait Implementations§
impl RefUnwindSafe for NamedStyle
impl Send for NamedStyle
impl Sync for NamedStyle
impl Unpin for NamedStyle
impl UnwindSafe for NamedStyle
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