Struct gapi_grpc::google::monitoring::dashboard::v1::mosaic_layout::Tile[][src]

pub struct Tile {
    pub x_pos: i32,
    pub y_pos: i32,
    pub width: i32,
    pub height: i32,
    pub widget: Option<Widget>,
}

A single tile in the mosaic. The placement and size of the tile are configurable.

Fields

x_pos: i32

The zero-indexed position of the tile in grid blocks relative to the left edge of the grid. Tiles must be contained within the specified number of columns. x_pos cannot be negative.

y_pos: i32

The zero-indexed position of the tile in grid blocks relative to the top edge of the grid. y_pos cannot be negative.

width: i32

The width of the tile, measured in grid blocks. Tiles must have a minimum width of 1.

height: i32

The height of the tile, measured in grid blocks. Tiles must have a minimum height of 1.

widget: Option<Widget>

The informational widget contained in the tile. For example an XyChart.

Trait Implementations

impl Clone for Tile[src]

impl Debug for Tile[src]

impl Default for Tile[src]

impl Message for Tile[src]

impl PartialEq<Tile> for Tile[src]

impl StructuralPartialEq for Tile[src]

Auto Trait Implementations

impl RefUnwindSafe for Tile

impl Send for Tile

impl Sync for Tile

impl Unpin for Tile

impl UnwindSafe for Tile

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]