pub struct ShardInfo {
pub selector: String,
}Expand description
ShardInfo describes the shard selector that was applied to produce a list response. Its presence on a list response indicates the list is a filtered subset.
Fields§
§selector: Stringselector is the shard selector string from the request, echoed back so clients can verify which shard they received and merge responses from multiple shards.
Trait Implementations§
Source§impl DeepMerge for ShardInfo
impl DeepMerge for ShardInfo
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other into self.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
impl StructuralPartialEq for ShardInfo
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