Struct Noyau
pub struct Noyau<'a> {
pub finess: &'a str,
pub annee: i32,
pub mois: i32,
pub path: String,
pub n_rows: Option<usize>,
}
Fields§
§finess: &'a str
§annee: i32
§mois: i32
§path: String
§n_rows: Option<usize>
Implementations§
§impl Noyau<'_>
impl Noyau<'_>
pub fn create_filepath(&self, extension: &str) -> String
§impl Noyau<'_>
impl Noyau<'_>
pub fn parse_pmsi( &self, extension: &str, champ: &str, ) -> Result<LazyFrame, PolarsError>
§impl Noyau<'_>
impl Noyau<'_>
pub fn parse_rsa(&self) -> Result<PmsiLazyFrames, PolarsError>
pub fn parse_rum(&self) -> Result<PmsiLazyFrames, PolarsError>
pub fn parse_tra( &self, extension: &str, champ: &str, ) -> Result<LazyFrame, PolarsError>
pub fn parse_all( &self, extensions: Vec<&str>, champ: &str, ) -> Result<PmsiLazyFrames, PolarsError>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Noyau<'a>
impl<'a> RefUnwindSafe for Noyau<'a>
impl<'a> Send for Noyau<'a>
impl<'a> Sync for Noyau<'a>
impl<'a> Unpin for Noyau<'a>
impl<'a> UnwindSafe for Noyau<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more