Struct envmnt::types::ListOptions
source · [−]Expand description
Get/Set list options
Fields
separator: Option<String>
The separator used to merge/split the values
ignore_empty: bool
if true, empty list will not be set and empty string will be considered as a list with a single empty value
Implementations
sourceimpl ListOptions
impl ListOptions
sourcepub fn new() -> ListOptions
pub fn new() -> ListOptions
Creates and returns a new instance.
Trait Implementations
sourceimpl Clone for ListOptions
impl Clone for ListOptions
sourcefn clone(&self) -> ListOptions
fn clone(&self) -> ListOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ListOptions
impl Debug for ListOptions
sourceimpl Default for ListOptions
impl Default for ListOptions
sourcefn default() -> ListOptions
fn default() -> ListOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ListOptions
impl Send for ListOptions
impl Sync for ListOptions
impl Unpin for ListOptions
impl UnwindSafe for ListOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more