Struct slack_chat_api::types::ObjsFile
source · pub struct ObjsFile {Show 70 fields
pub channels: Vec<String>,
pub comments_count: i64,
pub created: i64,
pub date_delete: i64,
pub display_as_bot: bool,
pub editable: bool,
pub editor: String,
pub external_id: String,
pub external_type: String,
pub external_url: String,
pub filetype: String,
pub groups: Vec<String>,
pub has_rich_preview: bool,
pub id: String,
pub image_exif_rotation: i64,
pub ims: Vec<String>,
pub is_external: bool,
pub is_public: bool,
pub is_starred: bool,
pub is_tombstoned: bool,
pub last_editor: String,
pub mimetype: String,
pub mode: String,
pub name: String,
pub non_owner_editable: bool,
pub num_stars: i64,
pub original_h: i64,
pub original_w: i64,
pub permalink: String,
pub permalink_public: String,
pub pinned_info: Option<Fields>,
pub pinned_to: Vec<String>,
pub pretty_type: String,
pub preview: String,
pub public_url_shared: bool,
pub reactions: Vec<ObjsReaction>,
pub shares: Option<ObjsFileShares>,
pub size: i64,
pub source_team: String,
pub state: String,
pub thumb_1024: String,
pub thumb_1024_h: i64,
pub thumb_1024_w: i64,
pub thumb_160: String,
pub thumb_360: String,
pub thumb_360_h: i64,
pub thumb_360_w: i64,
pub thumb_480: String,
pub thumb_480_h: i64,
pub thumb_480_w: i64,
pub thumb_64: String,
pub thumb_720: String,
pub thumb_720_h: i64,
pub thumb_720_w: i64,
pub thumb_80: String,
pub thumb_800: String,
pub thumb_800_h: i64,
pub thumb_800_w: i64,
pub thumb_960: String,
pub thumb_960_h: i64,
pub thumb_960_w: i64,
pub thumb_tiny: String,
pub timestamp: i64,
pub title: String,
pub updated: i64,
pub url_private: String,
pub url_private_download: String,
pub user: String,
pub user_team: String,
pub username: String,
}Fields§
§channels: Vec<String>§comments_count: i64§created: i64§date_delete: i64§display_as_bot: bool§editable: bool§editor: String§external_id: String§external_type: String§external_url: String§filetype: String§groups: Vec<String>§has_rich_preview: bool§id: String§image_exif_rotation: i64§ims: Vec<String>§is_external: bool§is_public: bool§is_starred: bool§is_tombstoned: bool§last_editor: String§mimetype: String§mode: String§name: String§non_owner_editable: bool§num_stars: i64§original_h: i64§original_w: i64§permalink: String§permalink_public: String§pinned_info: Option<Fields>§pinned_to: Vec<String>§pretty_type: String§preview: String§reactions: Vec<ObjsReaction>§size: i64§source_team: String§state: String§thumb_1024: String§thumb_1024_h: i64§thumb_1024_w: i64§thumb_160: String§thumb_360: String§thumb_360_h: i64§thumb_360_w: i64§thumb_480: String§thumb_480_h: i64§thumb_480_w: i64§thumb_64: String§thumb_720: String§thumb_720_h: i64§thumb_720_w: i64§thumb_80: String§thumb_800: String§thumb_800_h: i64§thumb_800_w: i64§thumb_960: String§thumb_960_h: i64§thumb_960_w: i64§thumb_tiny: String§timestamp: i64§title: String§updated: i64§url_private: String§url_private_download: String§user: String§user_team: String§username: StringTrait Implementations§
source§impl<'de> Deserialize<'de> for ObjsFile
impl<'de> Deserialize<'de> for ObjsFile
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 JsonSchema for ObjsFile
impl JsonSchema for ObjsFile
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read more