pub struct ShardInfo {
pub shard_id: String,
pub namespace: String,
pub primary_node: String,
pub replica_nodes: Vec<String>,
pub state: String,
pub vector_count: u64,
pub size_bytes: u64,
}Expand description
Shard information.
Fields§
§shard_id: String§namespace: String§primary_node: String§replica_nodes: Vec<String>§state: String§vector_count: u64§size_bytes: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for ShardInfo
impl<'de> Deserialize<'de> for ShardInfo
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 ShardInfo
impl RefUnwindSafe for ShardInfo
impl Send for ShardInfo
impl Sync for ShardInfo
impl Unpin for ShardInfo
impl UnsafeUnpin for ShardInfo
impl UnwindSafe for ShardInfo
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