[][src]Struct pulsar::message::proto::Schema

pub struct Schema {
    pub name: String,
    pub schema_data: Vec<u8>,
    pub type_: i32,
    pub properties: Vec<KeyValue>,
}

Fields

name: Stringschema_data: Vec<u8>type_: i32properties: Vec<KeyValue>

Implementations

impl Schema[src]

pub fn type_(&self) -> Type[src]

Returns the enum value of type_, or the default if the field is set to an invalid enum value.

pub fn set_type_(&mut self, value: Type)[src]

Sets type_ to the provided enum value.

Trait Implementations

impl Clone for Schema[src]

impl Debug for Schema[src]

impl Default for Schema[src]

impl Message for Schema[src]

impl PartialEq<Schema> for Schema[src]

impl StructuralPartialEq for Schema[src]

Auto Trait Implementations

impl RefUnwindSafe for Schema

impl Send for Schema

impl Sync for Schema

impl Unpin for Schema

impl UnwindSafe for Schema

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,