[][src]Trait pyo3::types::PyTimeAccess

pub trait PyTimeAccess {
    pub fn get_hour(&self) -> u8;
pub fn get_minute(&self) -> u8;
pub fn get_second(&self) -> u8;
pub fn get_microsecond(&self) -> u32;
pub fn get_fold(&self) -> u8; }

Trait for accessing the time components of a struct containing a time.

Required methods

pub fn get_hour(&self) -> u8[src]

pub fn get_minute(&self) -> u8[src]

pub fn get_second(&self) -> u8[src]

pub fn get_microsecond(&self) -> u32[src]

pub fn get_fold(&self) -> u8[src]

Loading content...

Implementors

impl PyTimeAccess for PyDateTime[src]

impl PyTimeAccess for PyTime[src]

Loading content...