pub struct SlackApiFilesListResponse {
pub files: Vec<SlackFile>,
pub paging: Option<SlackApiFilesListPaging>,
}Fields§
§files: Vec<SlackFile>§paging: Option<SlackApiFilesListPaging>Implementations§
Source§impl SlackApiFilesListResponse
impl SlackApiFilesListResponse
pub fn new(files: Vec<SlackFile>) -> Self
pub fn files(&mut self, value: Vec<SlackFile>) -> &mut Self
pub fn with_files(self, value: Vec<SlackFile>) -> Self
pub fn paging(&mut self, value: SlackApiFilesListPaging) -> &mut Self
pub fn reset_paging(&mut self) -> &mut Self
pub fn mopt_paging( &mut self, value: Option<SlackApiFilesListPaging>, ) -> &mut Self
pub fn with_paging(self, value: SlackApiFilesListPaging) -> Self
pub fn without_paging(self) -> Self
pub fn opt_paging(self, value: Option<SlackApiFilesListPaging>) -> Self
Trait Implementations§
Source§impl Clone for SlackApiFilesListResponse
impl Clone for SlackApiFilesListResponse
Source§fn clone(&self) -> SlackApiFilesListResponse
fn clone(&self) -> SlackApiFilesListResponse
Returns a duplicate 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 SlackApiFilesListResponse
impl Debug for SlackApiFilesListResponse
Source§impl<'de> Deserialize<'de> for SlackApiFilesListResponse
impl<'de> Deserialize<'de> for SlackApiFilesListResponse
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<SlackApiFilesListResponseInit> for SlackApiFilesListResponse
impl From<SlackApiFilesListResponseInit> for SlackApiFilesListResponse
Source§fn from(value: SlackApiFilesListResponseInit) -> Self
fn from(value: SlackApiFilesListResponseInit) -> Self
Converts to this type from the input type.
Source§impl SlackApiScrollableResponse for SlackApiFilesListResponse
impl SlackApiScrollableResponse for SlackApiFilesListResponse
type CursorType = u32
type ResponseItemType = SlackFile
fn next_cursor(&self) -> Option<Self::CursorType>
fn scrollable_items<'a>( &'a self, ) -> Box<dyn Iterator<Item = &'a Self::ResponseItemType> + 'a>
impl StructuralPartialEq for SlackApiFilesListResponse
Auto Trait Implementations§
impl Freeze for SlackApiFilesListResponse
impl RefUnwindSafe for SlackApiFilesListResponse
impl Send for SlackApiFilesListResponse
impl Sync for SlackApiFilesListResponse
impl Unpin for SlackApiFilesListResponse
impl UnsafeUnpin for SlackApiFilesListResponse
impl UnwindSafe for SlackApiFilesListResponse
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