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