Struct mz_storage::types::sinks::StorageSinkDesc
source · [−]pub struct StorageSinkDesc<S = (), I = GlobalId, T = Timestamp> {
pub from: GlobalId,
pub from_desc: RelationDesc,
pub connection: StorageSinkConnection,
pub envelope: Option<SinkEnvelope>,
pub as_of: SinkAsOf<T>,
pub status_id: Option<I>,
pub from_storage_metadata: S,
}
Expand description
A sink for updates to a relational collection.
Fields
from: GlobalId
from_desc: RelationDesc
connection: StorageSinkConnection
envelope: Option<SinkEnvelope>
as_of: SinkAsOf<T>
status_id: Option<I>
from_storage_metadata: S
Trait Implementations
sourceimpl Arbitrary for StorageSinkDesc<CollectionMetadata, ShardId, Timestamp>
impl Arbitrary for StorageSinkDesc<CollectionMetadata, ShardId, Timestamp>
type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
. Read moresourcefn arbitrary_with(_: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_: Self::Parameters) -> Self::Strategy
sourceimpl<S: Clone, I: Clone, T: Clone> Clone for StorageSinkDesc<S, I, T>
impl<S: Clone, I: Clone, T: Clone> Clone for StorageSinkDesc<S, I, T>
sourcefn clone(&self) -> StorageSinkDesc<S, I, T>
fn clone(&self) -> StorageSinkDesc<S, I, T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'de, S, I, T> Deserialize<'de> for StorageSinkDesc<S, I, T>where
S: Deserialize<'de>,
I: Deserialize<'de>,
T: Deserialize<'de>,
impl<'de, S, I, T> Deserialize<'de> for StorageSinkDesc<S, I, T>where
S: Deserialize<'de>,
I: Deserialize<'de>,
T: Deserialize<'de>,
sourcefn 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
sourceimpl<S: PartialEq, I: PartialEq, T: PartialEq> PartialEq<StorageSinkDesc<S, I, T>> for StorageSinkDesc<S, I, T>
impl<S: PartialEq, I: PartialEq, T: PartialEq> PartialEq<StorageSinkDesc<S, I, T>> for StorageSinkDesc<S, I, T>
sourcefn eq(&self, other: &StorageSinkDesc<S, I, T>) -> bool
fn eq(&self, other: &StorageSinkDesc<S, I, T>) -> bool
sourceimpl RustType<ProtoStorageSinkDesc> for StorageSinkDesc<CollectionMetadata, ShardId, Timestamp>
impl RustType<ProtoStorageSinkDesc> for StorageSinkDesc<CollectionMetadata, ShardId, Timestamp>
sourcefn into_proto(&self) -> ProtoStorageSinkDesc
fn into_proto(&self) -> ProtoStorageSinkDesc
Convert a
Self
into a Proto
value.sourcefn from_proto(proto: ProtoStorageSinkDesc) -> Result<Self, TryFromProtoError>
fn from_proto(proto: ProtoStorageSinkDesc) -> Result<Self, TryFromProtoError>
sourceimpl<S, I, T> Serialize for StorageSinkDesc<S, I, T>where
S: Serialize,
I: Serialize,
T: Serialize,
impl<S, I, T> Serialize for StorageSinkDesc<S, I, T>where
S: Serialize,
I: Serialize,
T: Serialize,
impl<S: Eq, I: Eq, T: Eq> Eq for StorageSinkDesc<S, I, T>
impl<S, I, T> StructuralEq for StorageSinkDesc<S, I, T>
impl<S, I, T> StructuralPartialEq for StorageSinkDesc<S, I, T>
Auto Trait Implementations
impl<S, I, T> RefUnwindSafe for StorageSinkDesc<S, I, T>where
I: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<S, I, T> Send for StorageSinkDesc<S, I, T>where
I: Send,
S: Send,
T: Send,
impl<S, I, T> Sync for StorageSinkDesc<S, I, T>where
I: Sync,
S: Sync,
T: Sync,
impl<S, I, T> Unpin for StorageSinkDesc<S, I, T>where
I: Unpin,
S: Unpin,
T: Unpin,
impl<S, I, T> UnwindSafe for StorageSinkDesc<S, I, T>where
I: UnwindSafe,
S: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.sourceimpl<T> FutureExt for T
impl<T> FutureExt for T
sourcefn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
sourcefn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
sourceimpl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ProgressEventTimestamp for Twhere
T: Data + Debug + Any,
impl<T> ProgressEventTimestamp for Twhere
T: Data + Debug + Any,
sourceimpl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
sourcefn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
See
RustType::from_proto
.sourcefn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
See
RustType::into_proto
.