#[non_exhaustive]pub struct KnowledgeFormat {
pub format: String,
pub extensions: Vec<String>,
pub media_types: Vec<String>,
pub available: Option<bool>,
}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.format: String§extensions: Vec<String>§media_types: Vec<String>§available: Option<bool>Trait Implementations§
Source§impl Clone for KnowledgeFormat
impl Clone for KnowledgeFormat
Source§impl Debug for KnowledgeFormat
impl Debug for KnowledgeFormat
Source§impl<'de> Deserialize<'de> for KnowledgeFormat
impl<'de> Deserialize<'de> for KnowledgeFormat
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 KnowledgeFormat
impl PartialEq for KnowledgeFormat
Source§impl Serialize for KnowledgeFormat
impl Serialize for KnowledgeFormat
impl StructuralPartialEq for KnowledgeFormat
Auto Trait Implementations§
impl Forget for KnowledgeFormat
impl Freeze for KnowledgeFormat
impl Move for KnowledgeFormat
impl RefUnwindSafe for KnowledgeFormat
impl Send for KnowledgeFormat
impl Sync for KnowledgeFormat
impl Unpin for KnowledgeFormat
impl UnsafeUnpin for KnowledgeFormat
impl UnwindSafe for KnowledgeFormat
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