pub struct TabProperties {
pub icon_emoji: Option<String>,
pub index: Option<i32>,
pub nesting_level: Option<i32>,
pub parent_tab_id: Option<String>,
pub tab_id: Option<String>,
pub title: Option<String>,
}Expand description
Properties of a tab.
This type is not used in any activity, and only used as part of another schema.
Fields§
§icon_emoji: Option<String>Optional. The emoji icon displayed with the tab. A valid emoji icon is represented by a non-empty Unicode string. Any set of characters that don’t represent a single emoji is invalid. If an emoji is invalid, a 400 bad request error is returned. If this value is unset or empty, the tab will display the default tab icon.
index: Option<i32>The zero-based index of the tab within the parent.
nesting_level: Option<i32>Output only. The depth of the tab within the document. Root-level tabs start at 0.
parent_tab_id: Option<String>Optional. The ID of the parent tab. Empty when the current tab is a root-level tab, which means it doesn’t have any parents.
tab_id: Option<String>The immutable ID of the tab.
title: Option<String>The user-visible name of the tab.
Trait Implementations§
Source§impl Clone for TabProperties
impl Clone for TabProperties
Source§fn clone(&self) -> TabProperties
fn clone(&self) -> TabProperties
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TabProperties
impl Debug for TabProperties
Source§impl Default for TabProperties
impl Default for TabProperties
Source§fn default() -> TabProperties
fn default() -> TabProperties
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TabProperties
impl<'de> Deserialize<'de> for TabProperties
Source§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
Source§impl Serialize for TabProperties
impl Serialize for TabProperties
impl Part for TabProperties
Auto Trait Implementations§
impl Freeze for TabProperties
impl RefUnwindSafe for TabProperties
impl Send for TabProperties
impl Sync for TabProperties
impl Unpin for TabProperties
impl UnwindSafe for TabProperties
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
Mutably borrows from an owned value. Read more