Struct ella_engine::registry::transactions::CreateShard
source · pub struct CreateShard {
pub uuid: TransactionId,
pub table: TableId<'static>,
pub shard: ShardId,
pub file_schema: SchemaRef,
pub path: Path,
}Fields§
§uuid: TransactionId§table: TableId<'static>§shard: ShardId§file_schema: SchemaRef§path: PathImplementations§
Trait Implementations§
source§impl Clone for CreateShard
impl Clone for CreateShard
source§fn clone(&self) -> CreateShard
fn clone(&self) -> CreateShard
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 CreateShard
impl Debug for CreateShard
source§impl<'de> Deserialize<'de> for CreateShard
impl<'de> Deserialize<'de> for CreateShard
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<CreateShard> for ShardInfo
impl From<CreateShard> for ShardInfo
source§fn from(tsn: CreateShard) -> Self
fn from(tsn: CreateShard) -> Self
Converts to this type from the input type.
source§impl From<CreateShard> for Transaction
impl From<CreateShard> for Transaction
source§fn from(original: CreateShard) -> Transaction
fn from(original: CreateShard) -> Transaction
Converts to this type from the input type.
source§impl PartialEq<CreateShard> for CreateShard
impl PartialEq<CreateShard> for CreateShard
source§fn eq(&self, other: &CreateShard) -> bool
fn eq(&self, other: &CreateShard) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CreateShard
impl Serialize for CreateShard
impl Eq for CreateShard
impl StructuralEq for CreateShard
impl StructuralPartialEq for CreateShard
Auto Trait Implementations§
impl RefUnwindSafe for CreateShard
impl Send for CreateShard
impl Sync for CreateShard
impl Unpin for CreateShard
impl UnwindSafe for CreateShard
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.