Struct fluvio_sc_schema::objects::Metadata [−][src]
Fields
name: String
spec: S
status: S::Status
Trait Implementations
impl<S: Clone> Clone for Metadata<S> where
S: Spec + Debug + Encoder + Decoder,
S::Status: Debug + Encoder + Decoder,
S::Status: Clone,
[src]
S: Spec + Debug + Encoder + Decoder,
S::Status: Debug + Encoder + Decoder,
S::Status: Clone,
impl<S: Debug> Debug for Metadata<S> where
S: Spec + Debug + Encoder + Decoder,
S::Status: Debug + Encoder + Decoder,
S::Status: Debug,
[src]
S: Spec + Debug + Encoder + Decoder,
S::Status: Debug + Encoder + Decoder,
S::Status: Debug,
impl<S> Decoder for Metadata<S> where
S: Spec + Debug + Encoder + Decoder,
S::Status: Debug + Encoder + Decoder,
[src]
S: Spec + Debug + Encoder + Decoder,
S::Status: Debug + Encoder + Decoder,
fn decode<T>(&mut self, src: &mut T, version: Version) -> Result<(), Error> where
T: Buf,
[src]
T: Buf,
pub fn decode_from<T>(src: &mut T, version: i16) -> Result<Self, Error> where
Self: Default,
T: Buf,
Self: Default,
T: Buf,
impl<S: Default> Default for Metadata<S> where
S: Spec + Debug + Encoder + Decoder,
S::Status: Debug + Encoder + Decoder,
S::Status: Default,
[src]
S: Spec + Debug + Encoder + Decoder,
S::Status: Debug + Encoder + Decoder,
S::Status: Default,
impl<S> Encoder for Metadata<S> where
S: Spec + Debug + Encoder + Decoder,
S::Status: Debug + Encoder + Decoder,
[src]
S: Spec + Debug + Encoder + Decoder,
S::Status: Debug + Encoder + Decoder,
fn encode<T>(&self, dest: &mut T, version: Version) -> Result<(), Error> where
T: BufMut,
[src]
T: BufMut,
fn write_size(&self, version: Version) -> usize
[src]
pub fn as_bytes(&self, version: i16) -> Result<Bytes, Error>
impl<S, C> From<MetadataStoreObject<S, C>> for Metadata<S> where
S: Spec + Encoder + Decoder,
S::IndexKey: ToString,
S::Status: Encoder + Decoder,
C: MetadataItem,
[src]
S: Spec + Encoder + Decoder,
S::IndexKey: ToString,
S::Status: Encoder + Decoder,
C: MetadataItem,
fn from(meta: MetadataStoreObject<S, C>) -> Self
[src]
impl<S, C> TryFrom<Metadata<S>> for MetadataStoreObject<S, C> where
S: Spec + Encoder + Decoder,
S::Status: Encoder + Decoder,
C: MetadataItem,
<S as Spec>::IndexKey: TryFrom<String>,
<<S as Spec>::IndexKey as TryFrom<String>>::Error: Display,
[src]
S: Spec + Encoder + Decoder,
S::Status: Encoder + Decoder,
C: MetadataItem,
<S as Spec>::IndexKey: TryFrom<String>,
<<S as Spec>::IndexKey as TryFrom<String>>::Error: Display,
Auto Trait Implementations
impl<S> RefUnwindSafe for Metadata<S> where
S: RefUnwindSafe,
<S as Spec>::Status: RefUnwindSafe,
S: RefUnwindSafe,
<S as Spec>::Status: RefUnwindSafe,
impl<S> Send for Metadata<S> where
S: Send,
<S as Spec>::Status: Send,
S: Send,
<S as Spec>::Status: Send,
impl<S> Sync for Metadata<S> where
S: Sync,
<S as Spec>::Status: Sync,
S: Sync,
<S as Spec>::Status: Sync,
impl<S> Unpin for Metadata<S> where
S: Unpin,
<S as Spec>::Status: Unpin,
S: Unpin,
<S as Spec>::Status: Unpin,
impl<S> UnwindSafe for Metadata<S> where
S: UnwindSafe,
<S as Spec>::Status: UnwindSafe,
S: UnwindSafe,
<S as Spec>::Status: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,