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