pub struct ChatSessionFileUpload {
pub enabled: bool,
pub max_file_size: Option<i32>,
pub max_files: Option<i32>,
}Expand description
Upload permissions and limits applied to the session.
Fields§
§enabled: boolIndicates if uploads are enabled for the session.
max_file_size: Option<i32>Maximum upload size in megabytes.
max_files: Option<i32>Maximum number of uploads allowed during the session.
Trait Implementations§
Source§impl Clone for ChatSessionFileUpload
impl Clone for ChatSessionFileUpload
Source§fn clone(&self) -> ChatSessionFileUpload
fn clone(&self) -> ChatSessionFileUpload
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 ChatSessionFileUpload
impl Debug for ChatSessionFileUpload
Source§impl<'de> Deserialize<'de> for ChatSessionFileUpload
impl<'de> Deserialize<'de> for ChatSessionFileUpload
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 PartialEq for ChatSessionFileUpload
impl PartialEq for ChatSessionFileUpload
Source§impl Serialize for ChatSessionFileUpload
impl Serialize for ChatSessionFileUpload
impl StructuralPartialEq for ChatSessionFileUpload
Auto Trait Implementations§
impl Freeze for ChatSessionFileUpload
impl RefUnwindSafe for ChatSessionFileUpload
impl Send for ChatSessionFileUpload
impl Sync for ChatSessionFileUpload
impl Unpin for ChatSessionFileUpload
impl UnwindSafe for ChatSessionFileUpload
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