#[non_exhaustive]pub struct MoveSectionItemResponse {
pub section_item: Option<SectionItem>,
/* private fields */
}Expand description
Response message for moving a section item.
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.section_item: Option<SectionItem>The updated section item.
Implementations§
Source§impl MoveSectionItemResponse
impl MoveSectionItemResponse
Sourcepub fn set_section_item<T>(self, v: T) -> Selfwhere
T: Into<SectionItem>,
pub fn set_section_item<T>(self, v: T) -> Selfwhere
T: Into<SectionItem>,
Sets the value of section_item.
§Example
ⓘ
use google_chat_v1::model::SectionItem;
let x = MoveSectionItemResponse::new().set_section_item(SectionItem::default()/* use setters */);Sourcepub fn set_or_clear_section_item<T>(self, v: Option<T>) -> Selfwhere
T: Into<SectionItem>,
pub fn set_or_clear_section_item<T>(self, v: Option<T>) -> Selfwhere
T: Into<SectionItem>,
Sets or clears the value of section_item.
§Example
ⓘ
use google_chat_v1::model::SectionItem;
let x = MoveSectionItemResponse::new().set_or_clear_section_item(Some(SectionItem::default()/* use setters */));
let x = MoveSectionItemResponse::new().set_or_clear_section_item(None::<SectionItem>);Trait Implementations§
Source§impl Clone for MoveSectionItemResponse
impl Clone for MoveSectionItemResponse
Source§fn clone(&self) -> MoveSectionItemResponse
fn clone(&self) -> MoveSectionItemResponse
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 MoveSectionItemResponse
impl Debug for MoveSectionItemResponse
Source§impl Default for MoveSectionItemResponse
impl Default for MoveSectionItemResponse
Source§fn default() -> MoveSectionItemResponse
fn default() -> MoveSectionItemResponse
Returns the “default value” for a type. Read more
Source§impl Message for MoveSectionItemResponse
impl Message for MoveSectionItemResponse
Source§impl PartialEq for MoveSectionItemResponse
impl PartialEq for MoveSectionItemResponse
impl StructuralPartialEq for MoveSectionItemResponse
Auto Trait Implementations§
impl Freeze for MoveSectionItemResponse
impl RefUnwindSafe for MoveSectionItemResponse
impl Send for MoveSectionItemResponse
impl Sync for MoveSectionItemResponse
impl Unpin for MoveSectionItemResponse
impl UnsafeUnpin for MoveSectionItemResponse
impl UnwindSafe for MoveSectionItemResponse
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