#[non_exhaustive]pub struct PositionSectionResponse {
pub section: Option<Section>,
/* private fields */
}Expand description
Response message for positioning 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.section: Option<Section>The updated section.
Implementations§
Source§impl PositionSectionResponse
impl PositionSectionResponse
Sourcepub fn set_section<T>(self, v: T) -> Self
pub fn set_section<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_section<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_section<T>(self, v: Option<T>) -> Self
Trait Implementations§
Source§impl Clone for PositionSectionResponse
impl Clone for PositionSectionResponse
Source§fn clone(&self) -> PositionSectionResponse
fn clone(&self) -> PositionSectionResponse
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 PositionSectionResponse
impl Debug for PositionSectionResponse
Source§impl Default for PositionSectionResponse
impl Default for PositionSectionResponse
Source§fn default() -> PositionSectionResponse
fn default() -> PositionSectionResponse
Returns the “default value” for a type. Read more
Source§impl Message for PositionSectionResponse
impl Message for PositionSectionResponse
Source§impl PartialEq for PositionSectionResponse
impl PartialEq for PositionSectionResponse
impl StructuralPartialEq for PositionSectionResponse
Auto Trait Implementations§
impl Freeze for PositionSectionResponse
impl RefUnwindSafe for PositionSectionResponse
impl Send for PositionSectionResponse
impl Sync for PositionSectionResponse
impl Unpin for PositionSectionResponse
impl UnsafeUnpin for PositionSectionResponse
impl UnwindSafe for PositionSectionResponse
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