pub struct CombinedUnion {
pub id: String,
pub base: DataOrType,
pub discriminator: Option<String>,
pub data: Data,
pub conditional: Option<Conditional>,
}
Fields§
§id: String
§base: DataOrType
§discriminator: Option<String>
§data: Data
§conditional: Option<Conditional>
Trait Implementations§
Source§impl Clone for CombinedUnion
impl Clone for CombinedUnion
Source§fn clone(&self) -> CombinedUnion
fn clone(&self) -> CombinedUnion
Returns a copy 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 CombinedUnion
impl Debug for CombinedUnion
Source§impl<'de> Deserialize<'de> for CombinedUnion
impl<'de> Deserialize<'de> for CombinedUnion
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
Auto Trait Implementations§
impl Freeze for CombinedUnion
impl RefUnwindSafe for CombinedUnion
impl Send for CombinedUnion
impl Sync for CombinedUnion
impl Unpin for CombinedUnion
impl UnwindSafe for CombinedUnion
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