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