#[non_exhaustive]pub struct KnowledgeSourceEntry {
pub name: String,
pub kind: String,
pub credential_mode: String,
pub access: String,
pub owner_subject: String,
pub items: Vec<HashMap<String, Value>>,
pub include: Vec<String>,
pub config: HashMap<String, Value>,
pub created_by: String,
pub created_at: String,
pub sync: KnowledgeSourceSync,
}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.name: String§kind: String§credential_mode: String§access: String§owner_subject: String§items: Vec<HashMap<String, Value>>§include: Vec<String>§config: HashMap<String, Value>§created_by: String§created_at: String§sync: KnowledgeSourceSyncTrait Implementations§
Source§impl Clone for KnowledgeSourceEntry
impl Clone for KnowledgeSourceEntry
Source§impl Debug for KnowledgeSourceEntry
impl Debug for KnowledgeSourceEntry
Source§impl<'de> Deserialize<'de> for KnowledgeSourceEntry
impl<'de> Deserialize<'de> for KnowledgeSourceEntry
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 KnowledgeSourceEntry
impl PartialEq for KnowledgeSourceEntry
Source§impl Serialize for KnowledgeSourceEntry
impl Serialize for KnowledgeSourceEntry
impl StructuralPartialEq for KnowledgeSourceEntry
Auto Trait Implementations§
impl Forget for KnowledgeSourceEntry
impl Freeze for KnowledgeSourceEntry
impl Move for KnowledgeSourceEntry
impl RefUnwindSafe for KnowledgeSourceEntry
impl Send for KnowledgeSourceEntry
impl Sync for KnowledgeSourceEntry
impl Unpin for KnowledgeSourceEntry
impl UnsafeUnpin for KnowledgeSourceEntry
impl UnwindSafe for KnowledgeSourceEntry
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