Struct mz_storage::controller::CollectionDescription
source · [−]pub struct CollectionDescription<T> {
pub desc: RelationDesc,
pub data_source: DataSource,
pub since: Option<Antichain<T>>,
pub status_collection_id: Option<GlobalId>,
}
Expand description
Describes a request to create a source.
Fields
desc: RelationDesc
The schema of this collection
data_source: DataSource
The source of this collection’s data.
since: Option<Antichain<T>>
An optional frontier to which the collection’s since
should be advanced.
status_collection_id: Option<GlobalId>
A GlobalId to use for this collection to use for the status collection. Used to keep track of source status/error information.
Trait Implementations
sourceimpl<T: Clone> Clone for CollectionDescription<T>
impl<T: Clone> Clone for CollectionDescription<T>
sourcefn clone(&self) -> CollectionDescription<T>
fn clone(&self) -> CollectionDescription<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<T: Debug> Debug for CollectionDescription<T>
impl<T: Debug> Debug for CollectionDescription<T>
sourceimpl<T> From<RelationDesc> for CollectionDescription<T>
impl<T> From<RelationDesc> for CollectionDescription<T>
sourcefn from(desc: RelationDesc) -> Self
fn from(desc: RelationDesc) -> Self
Converts to this type from the input type.
sourceimpl<T: PartialEq> PartialEq<CollectionDescription<T>> for CollectionDescription<T>
impl<T: PartialEq> PartialEq<CollectionDescription<T>> for CollectionDescription<T>
sourcefn eq(&self, other: &CollectionDescription<T>) -> bool
fn eq(&self, other: &CollectionDescription<T>) -> bool
impl<T: Eq> Eq for CollectionDescription<T>
impl<T> StructuralEq for CollectionDescription<T>
impl<T> StructuralPartialEq for CollectionDescription<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for CollectionDescription<T>where
T: RefUnwindSafe,
impl<T> Send for CollectionDescription<T>where
T: Send,
impl<T> Sync for CollectionDescription<T>where
T: Sync,
impl<T> Unpin for CollectionDescription<T>where
T: Unpin,
impl<T> UnwindSafe for CollectionDescription<T>where
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
.