Enum github_webhook::payload_types::RegistryPackagePublishedEventRegistryPackagePackageVersionBodyUnion
source · pub enum RegistryPackagePublishedEventRegistryPackagePackageVersionBodyUnion<'a> {
String(&'a str),
RegistryPackagePublishedEventRegistryPackagePackageVersionBody1(RegistryPackagePublishedEventRegistryPackagePackageVersionBody1<'a>),
}
Variants§
String(&'a str)
RegistryPackagePublishedEventRegistryPackagePackageVersionBody1(RegistryPackagePublishedEventRegistryPackagePackageVersionBody1<'a>)
Trait Implementations§
source§impl<'de: 'a, 'a> Deserialize<'de> for RegistryPackagePublishedEventRegistryPackagePackageVersionBodyUnion<'a>
impl<'de: 'a, 'a> Deserialize<'de> for RegistryPackagePublishedEventRegistryPackagePackageVersionBodyUnion<'a>
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<'a> RefUnwindSafe for RegistryPackagePublishedEventRegistryPackagePackageVersionBodyUnion<'a>
impl<'a> Send for RegistryPackagePublishedEventRegistryPackagePackageVersionBodyUnion<'a>
impl<'a> Sync for RegistryPackagePublishedEventRegistryPackagePackageVersionBodyUnion<'a>
impl<'a> Unpin for RegistryPackagePublishedEventRegistryPackagePackageVersionBodyUnion<'a>
impl<'a> UnwindSafe for RegistryPackagePublishedEventRegistryPackagePackageVersionBodyUnion<'a>
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