Struct google_sheets4::api::OverlayPosition [−][src]
pub struct OverlayPosition {
pub anchor_cell: Option<GridCoordinate>,
pub height_pixels: Option<i32>,
pub offset_x_pixels: Option<i32>,
pub offset_y_pixels: Option<i32>,
pub width_pixels: Option<i32>,
}
Expand description
The location an object is overlaid on top of a grid.
This type is not used in any activity, and only used as part of another schema.
Fields
anchor_cell: Option<GridCoordinate>
The cell the object is anchored to.
height_pixels: Option<i32>
The height of the object, in pixels. Defaults to 371.
offset_x_pixels: Option<i32>
The horizontal offset, in pixels, that the object is offset from the anchor cell.
offset_y_pixels: Option<i32>
The vertical offset, in pixels, that the object is offset from the anchor cell.
width_pixels: Option<i32>
The width of the object, in pixels. Defaults to 600.
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 OverlayPosition
impl Send for OverlayPosition
impl Sync for OverlayPosition
impl Unpin for OverlayPosition
impl UnwindSafe for OverlayPosition
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more