#[non_exhaustive]pub struct KnowledgeFormatsOutput {
pub formats: Vec<KnowledgeFormat>,
pub max_upload_bytes: Integer,
pub refused_extensions: Vec<String>,
pub default_format: String,
}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.formats: Vec<KnowledgeFormat>§max_upload_bytes: Integer§refused_extensions: Vec<String>§default_format: StringTrait Implementations§
Source§impl Clone for KnowledgeFormatsOutput
impl Clone for KnowledgeFormatsOutput
Source§impl Debug for KnowledgeFormatsOutput
impl Debug for KnowledgeFormatsOutput
Source§impl<'de> Deserialize<'de> for KnowledgeFormatsOutput
impl<'de> Deserialize<'de> for KnowledgeFormatsOutput
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 KnowledgeFormatsOutput
impl PartialEq for KnowledgeFormatsOutput
Source§impl Serialize for KnowledgeFormatsOutput
impl Serialize for KnowledgeFormatsOutput
impl StructuralPartialEq for KnowledgeFormatsOutput
Auto Trait Implementations§
impl Forget for KnowledgeFormatsOutput
impl Freeze for KnowledgeFormatsOutput
impl Move for KnowledgeFormatsOutput
impl RefUnwindSafe for KnowledgeFormatsOutput
impl Send for KnowledgeFormatsOutput
impl Sync for KnowledgeFormatsOutput
impl Unpin for KnowledgeFormatsOutput
impl UnsafeUnpin for KnowledgeFormatsOutput
impl UnwindSafe for KnowledgeFormatsOutput
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