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