Struct VectorMetadata
pub struct VectorMetadata { /* private fields */ }Expand description
String metadata attached to a vector record.
Implementations§
§impl VectorMetadata
impl VectorMetadata
pub const fn new() -> VectorMetadata
pub const fn new() -> VectorMetadata
Creates empty metadata.
pub fn with_entry(
self,
key: impl Into<String>,
value: impl Into<String>,
) -> VectorMetadata
pub fn with_entry( self, key: impl Into<String>, value: impl Into<String>, ) -> VectorMetadata
Adds a metadata entry.
Trait Implementations§
§impl Clone for VectorMetadata
impl Clone for VectorMetadata
§fn clone(&self) -> VectorMetadata
fn clone(&self) -> VectorMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for VectorMetadata
impl Debug for VectorMetadata
§impl Default for VectorMetadata
impl Default for VectorMetadata
§fn default() -> VectorMetadata
fn default() -> VectorMetadata
Returns the “default value” for a type. Read more
§impl PartialEq for VectorMetadata
impl PartialEq for VectorMetadata
impl Eq for VectorMetadata
impl StructuralPartialEq for VectorMetadata
Auto Trait Implementations§
impl Freeze for VectorMetadata
impl RefUnwindSafe for VectorMetadata
impl Send for VectorMetadata
impl Sync for VectorMetadata
impl Unpin for VectorMetadata
impl UnsafeUnpin for VectorMetadata
impl UnwindSafe for VectorMetadata
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