[][src]Struct google_sheets4::OverlayPosition

pub struct OverlayPosition {
    pub anchor_cell: Option<GridCoordinate>,
    pub offset_y_pixels: Option<i32>,
    pub width_pixels: Option<i32>,
    pub offset_x_pixels: Option<i32>,
    pub height_pixels: Option<i32>,
}

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.

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.

offset_x_pixels: Option<i32>

The horizontal offset, in pixels, that the object is offset from the anchor cell.

height_pixels: Option<i32>

The height of the object, in pixels. Defaults to 371.

Trait Implementations

impl Clone for OverlayPosition[src]

impl Debug for OverlayPosition[src]

impl Default for OverlayPosition[src]

impl<'de> Deserialize<'de> for OverlayPosition[src]

impl Part for OverlayPosition[src]

impl Serialize for OverlayPosition[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any