Struct vit_servicing_station_tests::common::data::CsvConverter
source · pub struct CsvConverter;
Implementations§
source§impl CsvConverter
impl CsvConverter
pub fn funds<P: AsRef<Path>>( &self, funds: Vec<Fund>, path: P ) -> Result<(), Error>
pub fn voteplans<P: AsRef<Path>>( &self, voteplans: Vec<Voteplan>, path: P ) -> Result<(), Error>
pub fn proposals<P: AsRef<Path>>( &self, proposals: Vec<FullProposalInfo>, path: P ) -> Result<(), Error>
pub fn proposals_voteplans<P: AsRef<Path>>( &self, proposals: Vec<FullProposalInfo>, path: P ) -> Result<(), Error>
pub fn challenges<P: AsRef<Path>>( &self, challenges: Vec<Challenge>, path: P ) -> Result<(), Error>
pub fn advisor_reviews<P: AsRef<Path>>( &self, challenges: Vec<AdvisorReview>, path: P ) -> Result<(), Error>
pub fn goals<P: AsRef<Path>>( &self, goals: Vec<InsertGoal>, path: P ) -> Result<(), Error>
pub fn groups<P: AsRef<Path>>( &self, groups: Vec<Group>, path: P ) -> Result<(), Error>
fn build_file<P: AsRef<Path>>( &self, headers: Vec<&str>, content: Vec<Vec<String>>, path: P ) -> Result<(), Error>
Auto Trait Implementations§
impl RefUnwindSafe for CsvConverter
impl Send for CsvConverter
impl Sync for CsvConverter
impl Unpin for CsvConverter
impl UnwindSafe for CsvConverter
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