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

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

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

Required methods

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

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

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

Loading content...

Implementors

impl PyDateAccess for PyDate[src]

impl PyDateAccess for PyDateTime[src]

Loading content...