Struct slack_morphism::SlackResponseMetadata
source · pub struct SlackResponseMetadata {
pub next_cursor: Option<SlackCursorId>,
}
Fields§
§next_cursor: Option<SlackCursorId>
Implementations§
source§impl SlackResponseMetadata
impl SlackResponseMetadata
pub fn new() -> Self
pub fn next_cursor(&mut self, value: SlackCursorId) -> &mut Self
pub fn reset_next_cursor(&mut self) -> &mut Self
pub fn mopt_next_cursor(&mut self, value: Option<SlackCursorId>) -> &mut Self
pub fn with_next_cursor(self, value: SlackCursorId) -> Self
pub fn without_next_cursor(self) -> Self
pub fn opt_next_cursor(self, value: Option<SlackCursorId>) -> Self
Trait Implementations§
source§impl Clone for SlackResponseMetadata
impl Clone for SlackResponseMetadata
source§fn clone(&self) -> SlackResponseMetadata
fn clone(&self) -> SlackResponseMetadata
Returns a copy 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 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§fn eq(&self, other: &SlackResponseMetadata) -> bool
fn eq(&self, other: &SlackResponseMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SlackResponseMetadata
impl Serialize for SlackResponseMetadata
impl StructuralPartialEq for SlackResponseMetadata
Auto Trait Implementations§
impl RefUnwindSafe for SlackResponseMetadata
impl Send for SlackResponseMetadata
impl Sync for SlackResponseMetadata
impl Unpin 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