Struct mz_storage_client::types::sinks::StorageSinkDesc
source · pub struct StorageSinkDesc<S: StorageSinkDescFillState, 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<<S as StorageSinkDescFillState>::StatusId>,
pub from_storage_metadata: <S as StorageSinkDescFillState>::StorageMetadata,
}
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<<S as StorageSinkDescFillState>::StatusId>
§from_storage_metadata: <S as StorageSinkDescFillState>::StorageMetadata
Trait Implementations§
source§impl Arbitrary for StorageSinkDesc<MetadataFilled, Timestamp>
impl Arbitrary for StorageSinkDesc<MetadataFilled, Timestamp>
§type Strategy = BoxedStrategy<StorageSinkDesc<MetadataFilled, Timestamp>>
type Strategy = BoxedStrategy<StorageSinkDesc<MetadataFilled, Timestamp>>
The type of
Strategy
used to generate values of type Self
.§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.source§fn arbitrary_with(_: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_: Self::Parameters) -> Self::Strategy
source§impl<S: Clone + StorageSinkDescFillState, T: Clone> Clone for StorageSinkDesc<S, T>
impl<S: Clone + StorageSinkDescFillState, T: Clone> Clone for StorageSinkDesc<S, T>
source§fn clone(&self) -> StorageSinkDesc<S, T>
fn clone(&self) -> StorageSinkDesc<S, T>
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<S: Debug + StorageSinkDescFillState, T: Debug> Debug for StorageSinkDesc<S, T>
impl<S: Debug + StorageSinkDescFillState, T: Debug> Debug for StorageSinkDesc<S, T>
source§impl<'de, S, T> Deserialize<'de> for StorageSinkDesc<S, T>where
S: Deserialize<'de> + StorageSinkDescFillState,
T: Deserialize<'de>,
impl<'de, S, T> Deserialize<'de> for StorageSinkDesc<S, T>where
S: Deserialize<'de> + StorageSinkDescFillState,
T: Deserialize<'de>,
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<S: PartialEq + StorageSinkDescFillState, T: PartialEq> PartialEq<StorageSinkDesc<S, T>> for StorageSinkDesc<S, T>
impl<S: PartialEq + StorageSinkDescFillState, T: PartialEq> PartialEq<StorageSinkDesc<S, T>> for StorageSinkDesc<S, T>
source§fn eq(&self, other: &StorageSinkDesc<S, T>) -> bool
fn eq(&self, other: &StorageSinkDesc<S, T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RustType<ProtoStorageSinkDesc> for StorageSinkDesc<MetadataFilled, Timestamp>
impl RustType<ProtoStorageSinkDesc> for StorageSinkDesc<MetadataFilled, Timestamp>
source§fn into_proto(&self) -> ProtoStorageSinkDesc
fn into_proto(&self) -> ProtoStorageSinkDesc
Convert a
Self
into a Proto
value.source§fn from_proto(proto: ProtoStorageSinkDesc) -> Result<Self, TryFromProtoError>
fn from_proto(proto: ProtoStorageSinkDesc) -> Result<Self, TryFromProtoError>
source§impl<S, T> Serialize for StorageSinkDesc<S, T>where
S: Serialize + StorageSinkDescFillState,
T: Serialize,
impl<S, T> Serialize for StorageSinkDesc<S, T>where
S: Serialize + StorageSinkDescFillState,
T: Serialize,
impl<S: Eq + StorageSinkDescFillState, T: Eq> Eq for StorageSinkDesc<S, T>
impl<S: StorageSinkDescFillState, T> StructuralEq for StorageSinkDesc<S, T>
impl<S: StorageSinkDescFillState, T> StructuralPartialEq for StorageSinkDesc<S, T>
Auto Trait Implementations§
impl<S, T> RefUnwindSafe for StorageSinkDesc<S, T>where
T: RefUnwindSafe,
<S as StorageSinkDescFillState>::StatusId: RefUnwindSafe,
<S as StorageSinkDescFillState>::StorageMetadata: RefUnwindSafe,
impl<S, T> Send for StorageSinkDesc<S, T>where
T: Send,
<S as StorageSinkDescFillState>::StatusId: Send,
<S as StorageSinkDescFillState>::StorageMetadata: Send,
impl<S, T> Sync for StorageSinkDesc<S, T>where
T: Sync,
<S as StorageSinkDescFillState>::StatusId: Sync,
<S as StorageSinkDescFillState>::StorageMetadata: Sync,
impl<S, T> Unpin for StorageSinkDesc<S, T>where
T: Unpin,
<S as StorageSinkDescFillState>::StatusId: Unpin,
<S as StorageSinkDescFillState>::StorageMetadata: Unpin,
impl<S, T> UnwindSafe for StorageSinkDesc<S, T>where
T: UnwindSafe,
<S as StorageSinkDescFillState>::StatusId: UnwindSafe,
<S as StorageSinkDescFillState>::StorageMetadata: UnwindSafe,
Blanket Implementations§
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.source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
See
RustType::from_proto
.source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
See
RustType::into_proto
.