Struct ella_engine::registry::transactions::CompactShards
source · pub struct CompactShards {
pub uuid: TransactionId,
pub table: TableId<'static>,
pub src: Vec<ShardId>,
pub dst: ShardId,
pub file_schema: SchemaRef,
pub path: Path,
}Fields§
§uuid: TransactionId§table: TableId<'static>§src: Vec<ShardId>§dst: ShardId§file_schema: SchemaRef§path: PathImplementations§
Trait Implementations§
source§impl Clone for CompactShards
impl Clone for CompactShards
source§fn clone(&self) -> CompactShards
fn clone(&self) -> CompactShards
Returns a copy 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 CompactShards
impl Debug for CompactShards
source§impl<'de> Deserialize<'de> for CompactShards
impl<'de> Deserialize<'de> for CompactShards
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
source§impl From<CompactShards> for ShardInfo
impl From<CompactShards> for ShardInfo
source§fn from(tsn: CompactShards) -> Self
fn from(tsn: CompactShards) -> Self
Converts to this type from the input type.
source§impl From<CompactShards> for Transaction
impl From<CompactShards> for Transaction
source§fn from(original: CompactShards) -> Transaction
fn from(original: CompactShards) -> Transaction
Converts to this type from the input type.
source§impl PartialEq<CompactShards> for CompactShards
impl PartialEq<CompactShards> for CompactShards
source§fn eq(&self, other: &CompactShards) -> bool
fn eq(&self, other: &CompactShards) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CompactShards
impl Serialize for CompactShards
impl Eq for CompactShards
impl StructuralEq for CompactShards
impl StructuralPartialEq for CompactShards
Auto Trait Implementations§
impl RefUnwindSafe for CompactShards
impl Send for CompactShards
impl Sync for CompactShards
impl Unpin for CompactShards
impl UnwindSafe for CompactShards
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.