pub struct TrackedTime {
pub created: Option<String>,
pub id: Option<i64>,
pub issue: Option<Box<Issue>>,
pub issue_id: Option<i64>,
pub time: Option<i64>,
pub user_id: Option<i64>,
pub user_name: Option<String>,
}
Expand description
TrackedTime : TrackedTime worked time for an issue / pr
Fields§
§created: Option<String>
§id: Option<i64>
§issue: Option<Box<Issue>>
§issue_id: Option<i64>
deprecated (only for backwards compatibility)
time: Option<i64>
Time in seconds
user_id: Option<i64>
deprecated (only for backwards compatibility)
user_name: Option<String>
Implementations§
Source§impl TrackedTime
impl TrackedTime
Sourcepub fn new() -> TrackedTime
pub fn new() -> TrackedTime
TrackedTime worked time for an issue / pr
Trait Implementations§
Source§impl Clone for TrackedTime
impl Clone for TrackedTime
Source§fn clone(&self) -> TrackedTime
fn clone(&self) -> TrackedTime
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 TrackedTime
impl Debug for TrackedTime
Source§impl Default for TrackedTime
impl Default for TrackedTime
Source§fn default() -> TrackedTime
fn default() -> TrackedTime
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TrackedTime
impl<'de> Deserialize<'de> for TrackedTime
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 TrackedTime
impl PartialEq for TrackedTime
Source§impl Serialize for TrackedTime
impl Serialize for TrackedTime
impl StructuralPartialEq for TrackedTime
Auto Trait Implementations§
impl Freeze for TrackedTime
impl RefUnwindSafe for TrackedTime
impl Send for TrackedTime
impl Sync for TrackedTime
impl Unpin for TrackedTime
impl UnwindSafe for TrackedTime
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