Struct google_sheets4::api::UpdateBordersRequest[][src]

pub struct UpdateBordersRequest {
    pub bottom: Option<Border>,
    pub inner_horizontal: Option<Border>,
    pub inner_vertical: Option<Border>,
    pub left: Option<Border>,
    pub range: Option<GridRange>,
    pub right: Option<Border>,
    pub top: Option<Border>,
}
Expand description

Updates the borders of a range. If a field is not set in the request, that means the border remains as-is. For example, with two subsequent UpdateBordersRequest: 1. range: A1:A5 { top: RED, bottom: WHITE } 2. range: A1:A5 { left: BLUE } That would result in A1:A5 having a borders of { top: RED, bottom: WHITE, left: BLUE }. If you want to clear a border, explicitly set the style to NONE.

This type is not used in any activity, and only used as part of another schema.

Fields

bottom: Option<Border>

The border to put at the bottom of the range.

inner_horizontal: Option<Border>

The horizontal border to put within the range.

inner_vertical: Option<Border>

The vertical border to put within the range.

left: Option<Border>

The border to put at the left of the range.

range: Option<GridRange>

The range whose borders should be updated.

right: Option<Border>

The border to put at the right of the range.

top: Option<Border>

The border to put at the top of the range.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.