Struct git2::Time [] [src]

pub struct Time {
    // some fields omitted
}

Time in a signature

Methods

impl Time

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

Derived Implementations

impl PartialEq for Time

fn eq(&self, __arg_0: &Time) -> bool

fn ne(&self, __arg_0: &Time) -> bool

impl Eq for Time

impl Clone for Time

fn clone(&self) -> Time

fn clone_from(&mut self, source: &Self)

impl Copy for Time