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