Struct google_sheets4::api::CellFormat [−][src]
pub struct CellFormat {
pub background_color: Option<Color>,
pub background_color_style: Option<ColorStyle>,
pub borders: Option<Borders>,
pub horizontal_alignment: Option<String>,
pub hyperlink_display_type: Option<String>,
pub number_format: Option<NumberFormat>,
pub padding: Option<Padding>,
pub text_direction: Option<String>,
pub text_format: Option<TextFormat>,
pub text_rotation: Option<TextRotation>,
pub vertical_alignment: Option<String>,
pub wrap_strategy: Option<String>,
}
Expand description
The format of a cell.
This type is not used in any activity, and only used as part of another schema.
Fields
background_color: Option<Color>
The background color of the cell.
background_color_style: Option<ColorStyle>
The background color of the cell. If background_color is also set, this field takes precedence.
borders: Option<Borders>
The borders of the cell.
horizontal_alignment: Option<String>
The horizontal alignment of the value in the cell.
hyperlink_display_type: Option<String>
How a hyperlink, if it exists, should be displayed in the cell.
number_format: Option<NumberFormat>
A format describing how number values should be represented to the user.
padding: Option<Padding>
The padding of the cell.
text_direction: Option<String>
The direction of the text in the cell.
text_format: Option<TextFormat>
The format of the text in the cell (unless overridden by a format run).
text_rotation: Option<TextRotation>
The rotation applied to text in a cell
vertical_alignment: Option<String>
The vertical alignment of the value in the cell.
wrap_strategy: Option<String>
The wrap strategy for the value in the cell.
Trait Implementations
Returns the “default value” for a type. Read more
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 RefUnwindSafe for CellFormat
impl Send for CellFormat
impl Sync for CellFormat
impl Unpin for CellFormat
impl UnwindSafe for CellFormat
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more