Struct google_pubsub1::api::SchemaSettings[][src]

pub struct SchemaSettings {
    pub encoding: Option<String>,
    pub schema: Option<String>,
}

Settings for validating messages published against a schema.

This type is not used in any activity, and only used as part of another schema.

Fields

encoding: Option<String>

The encoding of messages validated against schema.

schema: Option<String>

Required. The name of the schema that messages published should be validated against. Format is projects/{project}/schemas/{schema}. The value of this field will be _deleted-schema_ if the schema has been deleted.

Trait Implementations

impl Clone for SchemaSettings[src]

impl Debug for SchemaSettings[src]

impl Default for SchemaSettings[src]

impl<'de> Deserialize<'de> for SchemaSettings[src]

impl Part for SchemaSettings[src]

impl Serialize for SchemaSettings[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument 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.