Struct git2::Time
[−]
[src]
pub struct Time {
// some fields omitted
}Time in a signature
Methods
impl Time[src]
fn new(time: i64, offset: i32) -> Time
Creates a new time structure from its components.
fn seconds(&self) -> i64
Return the time, in seconds, from epoch
fn offset_minutes(&self) -> i32
Return the timezone offset, in minutes
Trait Implementations
impl PartialEq for Time[src]
fn eq(&self, __arg_0: &Time) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Time) -> bool
This method tests for !=.
impl Eq for Time[src]
impl Clone for Time[src]
fn clone(&self) -> Time
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more