pub struct CreateStreamIn {
pub messages: Vec<EventIn>,
pub stream: Option<Box<StreamIn>>,
}
Fields§
§messages: Vec<EventIn>
§stream: Option<Box<StreamIn>>
Implementations§
Source§impl CreateStreamIn
impl CreateStreamIn
pub fn new(messages: Vec<EventIn>) -> CreateStreamIn
Trait Implementations§
Source§impl Clone for CreateStreamIn
impl Clone for CreateStreamIn
Source§fn clone(&self) -> CreateStreamIn
fn clone(&self) -> CreateStreamIn
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 CreateStreamIn
impl Debug for CreateStreamIn
Source§impl Default for CreateStreamIn
impl Default for CreateStreamIn
Source§fn default() -> CreateStreamIn
fn default() -> CreateStreamIn
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateStreamIn
impl<'de> Deserialize<'de> for CreateStreamIn
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 CreateStreamIn
impl PartialEq for CreateStreamIn
Source§impl Serialize for CreateStreamIn
impl Serialize for CreateStreamIn
impl StructuralPartialEq for CreateStreamIn
Auto Trait Implementations§
impl Freeze for CreateStreamIn
impl RefUnwindSafe for CreateStreamIn
impl Send for CreateStreamIn
impl Sync for CreateStreamIn
impl Unpin for CreateStreamIn
impl UnwindSafe for CreateStreamIn
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