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