pub struct EventTypeIn {
pub archived: Option<bool>,
pub description: String,
pub name: String,
pub schemas: Option<HashMap<String, Value>>,
}
Fields§
§archived: Option<bool>
§description: String
§name: String
§schemas: Option<HashMap<String, Value>>
The schema for the event type for a specific version as a JSON schema.
Implementations§
Source§impl EventTypeIn
impl EventTypeIn
pub fn new(description: String, name: String) -> EventTypeIn
Trait Implementations§
Source§impl Clone for EventTypeIn
impl Clone for EventTypeIn
Source§fn clone(&self) -> EventTypeIn
fn clone(&self) -> EventTypeIn
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EventTypeIn
impl Debug for EventTypeIn
Source§impl Default for EventTypeIn
impl Default for EventTypeIn
Source§fn default() -> EventTypeIn
fn default() -> EventTypeIn
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventTypeIn
impl<'de> Deserialize<'de> for EventTypeIn
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
Source§impl PartialEq for EventTypeIn
impl PartialEq for EventTypeIn
Source§impl Serialize for EventTypeIn
impl Serialize for EventTypeIn
impl StructuralPartialEq for EventTypeIn
Auto Trait Implementations§
impl Freeze for EventTypeIn
impl RefUnwindSafe for EventTypeIn
impl Send for EventTypeIn
impl Sync for EventTypeIn
impl Unpin for EventTypeIn
impl UnwindSafe for EventTypeIn
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