pub struct ShardUpdate {
pub index: usize,
pub file_path: String,
pub old_oid: String,
pub new_oid: String,
}Expand description
Update information for a single shard.
Fields§
§index: usizeShard index.
file_path: StringFile path.
old_oid: StringOld OID (local).
new_oid: StringNew OID (remote).
Trait Implementations§
Source§impl Clone for ShardUpdate
impl Clone for ShardUpdate
Source§fn clone(&self) -> ShardUpdate
fn clone(&self) -> ShardUpdate
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 moreSource§impl Debug for ShardUpdate
impl Debug for ShardUpdate
Source§impl<'de> Deserialize<'de> for ShardUpdate
impl<'de> Deserialize<'de> for ShardUpdate
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 ShardUpdate
impl RefUnwindSafe for ShardUpdate
impl Send for ShardUpdate
impl Sync for ShardUpdate
impl Unpin for ShardUpdate
impl UnwindSafe for ShardUpdate
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