pub enum PublicEventRepositoryCreatedAt {
Variant0(i64),
Variant1(DateTime<Utc>),
}
Expand description
PublicEventRepositoryCreatedAt
JSON schema
{
"oneOf": [
{
"type": "integer"
},
{
"type": "string",
"format": "date-time"
}
]
}
Variants§
Trait Implementations§
Source§impl Clone for PublicEventRepositoryCreatedAt
impl Clone for PublicEventRepositoryCreatedAt
Source§fn clone(&self) -> PublicEventRepositoryCreatedAt
fn clone(&self) -> PublicEventRepositoryCreatedAt
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<'de> Deserialize<'de> for PublicEventRepositoryCreatedAt
impl<'de> Deserialize<'de> for PublicEventRepositoryCreatedAt
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 From<&PublicEventRepositoryCreatedAt> for PublicEventRepositoryCreatedAt
impl From<&PublicEventRepositoryCreatedAt> for PublicEventRepositoryCreatedAt
Source§fn from(value: &PublicEventRepositoryCreatedAt) -> Self
fn from(value: &PublicEventRepositoryCreatedAt) -> Self
Converts to this type from the input type.
Source§impl From<i64> for PublicEventRepositoryCreatedAt
impl From<i64> for PublicEventRepositoryCreatedAt
Source§impl TryFrom<&String> for PublicEventRepositoryCreatedAt
impl TryFrom<&String> for PublicEventRepositoryCreatedAt
Source§impl TryFrom<&str> for PublicEventRepositoryCreatedAt
impl TryFrom<&str> for PublicEventRepositoryCreatedAt
Auto Trait Implementations§
impl Freeze for PublicEventRepositoryCreatedAt
impl RefUnwindSafe for PublicEventRepositoryCreatedAt
impl Send for PublicEventRepositoryCreatedAt
impl Sync for PublicEventRepositoryCreatedAt
impl Unpin for PublicEventRepositoryCreatedAt
impl UnwindSafe for PublicEventRepositoryCreatedAt
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