Struct bookdata::cli::collect_isbns::ISBNSource
source · struct ISBNSource {
name: &'static str,
enabled: bool,
path: &'static str,
columns: Vec<&'static str>,
}
Fields§
§name: &'static str
§enabled: bool
§path: &'static str
§columns: Vec<&'static str>
Implementations§
source§impl ISBNSource
impl ISBNSource
fn new(name: &'static str) -> ISBNSource
fn enabled(self, e: bool) -> ISBNSource
fn path(self, path: &'static str) -> ISBNSource
fn column(self, col: &'static str) -> ISBNSource
fn columns(self, cols: &[&'static str]) -> ISBNSource
fn finish(self) -> ISBNSource
Trait Implementations§
source§impl Clone for ISBNSource
impl Clone for ISBNSource
source§fn clone(&self) -> ISBNSource
fn clone(&self) -> ISBNSource
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for ISBNSource
impl Send for ISBNSource
impl Sync for ISBNSource
impl Unpin for ISBNSource
impl UnwindSafe for ISBNSource
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