Enum octokit_rs::webhook::RepositoryCreatedAt
source · 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 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 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 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