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