#[non_exhaustive]pub struct FilesInfoRequest {
pub file: String,
pub count: Option<i64>,
pub cursor: Option<String>,
pub limit: Option<i64>,
pub page: Option<i64>,
}Expand description
Arguments for the Slack Web API method files.info: Gets information about a file.
Send it with SlackClient::files_info.
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.file: StringSpecify a file by providing its ID.
count: Option<i64>§cursor: Option<String>Parameter for pagination. File comments are paginated for a single file. Set cursor equal to the next_cursor attribute returned by the previous request’s response_metadata. This parameter is optional, but pagination is mandatory: the default value simply fetches the first “page” of the collection of comments. See pagination for more details.
limit: Option<i64>The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn’t been reached.
page: Option<i64>Implementations§
Trait Implementations§
Source§impl Clone for FilesInfoRequest
impl Clone for FilesInfoRequest
Source§impl CursorPaginated for FilesInfoRequest
impl CursorPaginated for FilesInfoRequest
fn set_cursor(&mut self, cursor: String)
Source§impl Debug for FilesInfoRequest
impl Debug for FilesInfoRequest
Source§impl PartialEq for FilesInfoRequest
impl PartialEq for FilesInfoRequest
Source§impl Serialize for FilesInfoRequest
impl Serialize for FilesInfoRequest
Source§impl SlackApiMethod for FilesInfoRequest
impl SlackApiMethod for FilesInfoRequest
impl StructuralPartialEq for FilesInfoRequest
Auto Trait Implementations§
impl Freeze for FilesInfoRequest
impl RefUnwindSafe for FilesInfoRequest
impl Send for FilesInfoRequest
impl Sync for FilesInfoRequest
impl Unpin for FilesInfoRequest
impl UnsafeUnpin for FilesInfoRequest
impl UnwindSafe for FilesInfoRequest
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