Trait pyo3::types::PyDateAccess[][src]

pub trait PyDateAccess {
    fn get_year(&self) -> i32;
fn get_month(&self) -> u8;
fn get_day(&self) -> u8; }

Access traits Trait for accessing the date components of a struct containing a date.

Required methods

fn get_year(&self) -> i32[src]

fn get_month(&self) -> u8[src]

fn get_day(&self) -> u8[src]

Loading content...

Implementors

impl PyDateAccess for PyDate[src]

impl PyDateAccess for PyDateTime[src]

Loading content...