pub struct KnowledgeObjectV1 {
pub id: String,
pub kind: String,
pub bytes: Vec<u8>,
pub meta: CborValue,
}Fields§
§id: String§kind: String§bytes: Vec<u8>§meta: CborValueTrait Implementations§
Source§impl Clone for KnowledgeObjectV1
impl Clone for KnowledgeObjectV1
Source§fn clone(&self) -> KnowledgeObjectV1
fn clone(&self) -> KnowledgeObjectV1
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 KnowledgeObjectV1
impl Debug for KnowledgeObjectV1
Source§impl PartialEq for KnowledgeObjectV1
impl PartialEq for KnowledgeObjectV1
impl StructuralPartialEq for KnowledgeObjectV1
Auto Trait Implementations§
impl Freeze for KnowledgeObjectV1
impl RefUnwindSafe for KnowledgeObjectV1
impl Send for KnowledgeObjectV1
impl Sync for KnowledgeObjectV1
impl Unpin for KnowledgeObjectV1
impl UnsafeUnpin for KnowledgeObjectV1
impl UnwindSafe for KnowledgeObjectV1
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