pub struct Column {
pub horizontal_size_style: i32,
pub horizontal_alignment: i32,
pub vertical_alignment: i32,
pub widgets: Vec<Widgets>,
}
Expand description
A column.
Google Workspace Add-ons and Chat apps: Columns for Google Workspace Add-ons are in Developer Preview.
Fields§
§horizontal_size_style: i32
Specifies how a column fills the width of the card.
horizontal_alignment: i32
Specifies whether widgets align to the left, right, or center of a column.
vertical_alignment: i32
Specifies whether widgets align to the top, bottom, or center of a column.
widgets: Vec<Widgets>
An array of widgets included in a column. Widgets appear in the order that they are specified.
Implementations§
Source§impl Column
impl Column
Sourcepub fn horizontal_size_style(&self) -> HorizontalSizeStyle
pub fn horizontal_size_style(&self) -> HorizontalSizeStyle
Returns the enum value of horizontal_size_style
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_horizontal_size_style(&mut self, value: HorizontalSizeStyle)
pub fn set_horizontal_size_style(&mut self, value: HorizontalSizeStyle)
Sets horizontal_size_style
to the provided enum value.
Sourcepub fn horizontal_alignment(&self) -> HorizontalAlignment
pub fn horizontal_alignment(&self) -> HorizontalAlignment
Returns the enum value of horizontal_alignment
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_horizontal_alignment(&mut self, value: HorizontalAlignment)
pub fn set_horizontal_alignment(&mut self, value: HorizontalAlignment)
Sets horizontal_alignment
to the provided enum value.
Sourcepub fn vertical_alignment(&self) -> VerticalAlignment
pub fn vertical_alignment(&self) -> VerticalAlignment
Returns the enum value of vertical_alignment
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_vertical_alignment(&mut self, value: VerticalAlignment)
pub fn set_vertical_alignment(&mut self, value: VerticalAlignment)
Sets vertical_alignment
to the provided enum value.
Trait Implementations§
Source§impl Message for Column
impl Message for Column
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.impl StructuralPartialEq for Column
Auto Trait Implementations§
impl Freeze for Column
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnwindSafe for Column
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request