#[non_exhaustive]pub struct SectionItem {
pub name: String,
pub item: Option<Item>,
/* private fields */
}Expand description
A user’s defined section item. This is used to represent section items, such as spaces, grouped under a section.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringIdentifier. The resource name of the section item.
Format: users/{user}/sections/{section}/items/{item}
item: Option<Item>Required. The section item.
Implementations§
Trait Implementations§
Source§impl Clone for SectionItem
impl Clone for SectionItem
Source§fn clone(&self) -> SectionItem
fn clone(&self) -> SectionItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SectionItem
impl Debug for SectionItem
Source§impl Default for SectionItem
impl Default for SectionItem
Source§fn default() -> SectionItem
fn default() -> SectionItem
Returns the “default value” for a type. Read more
Source§impl Message for SectionItem
impl Message for SectionItem
Source§impl PartialEq for SectionItem
impl PartialEq for SectionItem
impl StructuralPartialEq for SectionItem
Auto Trait Implementations§
impl Freeze for SectionItem
impl RefUnwindSafe for SectionItem
impl Send for SectionItem
impl Sync for SectionItem
impl Unpin for SectionItem
impl UnsafeUnpin for SectionItem
impl UnwindSafe for SectionItem
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