pub struct KnowledgeUpdateParams {
pub doc_id: KnowledgeDocId,
pub title: Option<String>,
pub body: Option<String>,
pub status: Option<KnowledgeStatus>,
pub tags: Option<Vec<String>>,
}Fields§
§doc_id: KnowledgeDocId§title: Option<String>§body: Option<String>§status: Option<KnowledgeStatus>Trait Implementations§
Source§impl Clone for KnowledgeUpdateParams
impl Clone for KnowledgeUpdateParams
Source§fn clone(&self) -> KnowledgeUpdateParams
fn clone(&self) -> KnowledgeUpdateParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 KnowledgeUpdateParams
impl Debug for KnowledgeUpdateParams
Source§impl<'de> Deserialize<'de> for KnowledgeUpdateParams
impl<'de> Deserialize<'de> for KnowledgeUpdateParams
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
Auto Trait Implementations§
impl Freeze for KnowledgeUpdateParams
impl RefUnwindSafe for KnowledgeUpdateParams
impl Send for KnowledgeUpdateParams
impl Sync for KnowledgeUpdateParams
impl Unpin for KnowledgeUpdateParams
impl UnsafeUnpin for KnowledgeUpdateParams
impl UnwindSafe for KnowledgeUpdateParams
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