pub struct VcfOptions {
pub vcf: Option<PathBuf>,
pub sample: Option<String>,
}Expand description
Options for specifying an input VCF file and optional sample selection.
Fields§
§vcf: Option<PathBuf>VCF file with variants to apply. Must have GT field in genotypes.
sample: Option<String>Sample name to select from a multi-sample VCF. Required if the VCF contains more than one sample; ignored for single-sample VCFs.
Trait Implementations§
Source§impl Args for VcfOptions
impl Args for VcfOptions
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for VcfOptions
impl Clone for VcfOptions
Source§fn clone(&self) -> VcfOptions
fn clone(&self) -> VcfOptions
Returns a duplicate 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 moreSource§impl Debug for VcfOptions
impl Debug for VcfOptions
Source§impl FromArgMatches for VcfOptions
impl FromArgMatches for VcfOptions
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for VcfOptions
impl RefUnwindSafe for VcfOptions
impl Send for VcfOptions
impl Sync for VcfOptions
impl Unpin for VcfOptions
impl UnsafeUnpin for VcfOptions
impl UnwindSafe for VcfOptions
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