Struct google_pubsub1::api::Schema
source · pub struct Schema {
pub definition: Option<String>,
pub name: Option<String>,
pub revision_create_time: Option<DateTime<Utc>>,
pub revision_id: Option<String>,
pub type_: Option<String>,
}
Expand description
A schema resource.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- schemas commit projects (response)
- schemas create projects (request|response)
- schemas delete revision projects (response)
- schemas get projects (response)
- schemas rollback projects (response)
Fields§
§definition: Option<String>
The definition of the schema. This should contain a string representing the full definition of the schema that is a valid schema definition of the type specified in type
.
name: Option<String>
Required. Name of the schema. Format is projects/{project}/schemas/{schema}
.
revision_create_time: Option<DateTime<Utc>>
Output only. The timestamp that the revision was created.
revision_id: Option<String>
Output only. Immutable. The revision ID of the schema.
type_: Option<String>
The type of the schema definition.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Schema
impl<'de> Deserialize<'de> for Schema
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
impl RequestValue for Schema
impl ResponseResult for Schema
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more