Struct forgejo_api::structs::AddTimeOption
source · pub struct AddTimeOption {
pub created: Option<OffsetDateTime>,
pub time: u64,
pub user_name: Option<String>,
}Expand description
AddTimeOption options for adding time to an issue
Fields§
§created: Option<OffsetDateTime>§time: u64time in seconds
user_name: Option<String>User who spent the time (optional)
Trait Implementations§
source§impl Clone for AddTimeOption
impl Clone for AddTimeOption
source§fn clone(&self) -> AddTimeOption
fn clone(&self) -> AddTimeOption
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 AddTimeOption
impl Debug for AddTimeOption
source§impl<'de> Deserialize<'de> for AddTimeOption
impl<'de> Deserialize<'de> for AddTimeOption
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 PartialEq for AddTimeOption
impl PartialEq for AddTimeOption
source§fn eq(&self, other: &AddTimeOption) -> bool
fn eq(&self, other: &AddTimeOption) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AddTimeOption
impl Serialize for AddTimeOption
impl StructuralPartialEq for AddTimeOption
Auto Trait Implementations§
impl Freeze for AddTimeOption
impl RefUnwindSafe for AddTimeOption
impl Send for AddTimeOption
impl Sync for AddTimeOption
impl Unpin for AddTimeOption
impl UnwindSafe for AddTimeOption
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