pub struct SlackResponseMetadata {
pub next_cursor: Option<SlackCursorId>,
}Fields§
§next_cursor: Option<SlackCursorId>Implementations§
Source§impl SlackResponseMetadata
impl SlackResponseMetadata
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new SlackResponseMetadata from its required fields. Option fields start as None, and fields with #[default] take their default.
Sourcepub fn next_cursor(&mut self, value: SlackCursorId) -> &mut Self
pub fn next_cursor(&mut self, value: SlackCursorId) -> &mut Self
Sets next_cursor to Some(value).
Sourcepub fn reset_next_cursor(&mut self) -> &mut Self
pub fn reset_next_cursor(&mut self) -> &mut Self
Sets next_cursor to None.
Sourcepub fn mopt_next_cursor(&mut self, value: Option<SlackCursorId>) -> &mut Self
pub fn mopt_next_cursor(&mut self, value: Option<SlackCursorId>) -> &mut Self
Sets next_cursor to the given Option.
Sourcepub fn with_next_cursor(self, value: SlackCursorId) -> Self
pub fn with_next_cursor(self, value: SlackCursorId) -> Self
Returns self with next_cursor set to Some(value).
Sourcepub fn without_next_cursor(self) -> Self
pub fn without_next_cursor(self) -> Self
Returns self with next_cursor set to None.
Sourcepub fn opt_next_cursor(self, value: Option<SlackCursorId>) -> Self
pub fn opt_next_cursor(self, value: Option<SlackCursorId>) -> Self
Returns self with next_cursor set to the given Option.
Trait Implementations§
Source§impl Clone for SlackResponseMetadata
impl Clone for SlackResponseMetadata
Source§impl Debug for SlackResponseMetadata
impl Debug for SlackResponseMetadata
Source§impl<'de> Deserialize<'de> for SlackResponseMetadata
impl<'de> Deserialize<'de> for SlackResponseMetadata
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 From<SlackResponseMetadataInit> for SlackResponseMetadata
impl From<SlackResponseMetadataInit> for SlackResponseMetadata
Source§fn from(value: SlackResponseMetadataInit) -> Self
fn from(value: SlackResponseMetadataInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackResponseMetadata
impl PartialEq for SlackResponseMetadata
Source§impl Serialize for SlackResponseMetadata
impl Serialize for SlackResponseMetadata
impl StructuralPartialEq for SlackResponseMetadata
Auto Trait Implementations§
impl Freeze for SlackResponseMetadata
impl RefUnwindSafe for SlackResponseMetadata
impl Send for SlackResponseMetadata
impl Sync for SlackResponseMetadata
impl Unpin for SlackResponseMetadata
impl UnsafeUnpin for SlackResponseMetadata
impl UnwindSafe for SlackResponseMetadata
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