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