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