#[non_exhaustive]pub struct KnowledgeRestoreOutput {
pub restored: bool,
pub reason: KnowledgeRestoreOutputReason,
pub doc_id: String,
pub revision: Option<Integer>,
pub chunks_restored: Integer,
pub original: KnowledgeRestoreOutputOriginal,
}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.restored: bool§reason: KnowledgeRestoreOutputReason§doc_id: String§revision: Option<Integer>§chunks_restored: Integer§original: KnowledgeRestoreOutputOriginalTrait Implementations§
Source§impl Clone for KnowledgeRestoreOutput
impl Clone for KnowledgeRestoreOutput
Source§impl Debug for KnowledgeRestoreOutput
impl Debug for KnowledgeRestoreOutput
Source§impl<'de> Deserialize<'de> for KnowledgeRestoreOutput
impl<'de> Deserialize<'de> for KnowledgeRestoreOutput
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 KnowledgeRestoreOutput
impl PartialEq for KnowledgeRestoreOutput
Source§impl Serialize for KnowledgeRestoreOutput
impl Serialize for KnowledgeRestoreOutput
impl StructuralPartialEq for KnowledgeRestoreOutput
Auto Trait Implementations§
impl Forget for KnowledgeRestoreOutput
impl Freeze for KnowledgeRestoreOutput
impl Move for KnowledgeRestoreOutput
impl RefUnwindSafe for KnowledgeRestoreOutput
impl Send for KnowledgeRestoreOutput
impl Sync for KnowledgeRestoreOutput
impl Unpin for KnowledgeRestoreOutput
impl UnsafeUnpin for KnowledgeRestoreOutput
impl UnwindSafe for KnowledgeRestoreOutput
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