#[non_exhaustive]pub struct ConfigTarget {
pub streams: Option<Streams>,
pub chapters: Option<Chapters>,
pub defaults: Option<DefaultDispositions>,
pub forceds: Option<ForcedDispositions>,
pub names: Option<NameMetadata>,
pub langs: Option<LangMetadata>,
}Expand description
A configuration for a Target.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.streams: Option<Streams>§chapters: Option<Chapters>§defaults: Option<DefaultDispositions>§forceds: Option<ForcedDispositions>§names: Option<NameMetadata>§langs: Option<LangMetadata>Trait Implementations§
Source§impl Clone for ConfigTarget
impl Clone for ConfigTarget
Source§fn clone(&self) -> ConfigTarget
fn clone(&self) -> ConfigTarget
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 CommandFactory for ConfigTarget
impl CommandFactory for ConfigTarget
Source§impl Debug for ConfigTarget
impl Debug for ConfigTarget
Source§impl Default for ConfigTarget
impl Default for ConfigTarget
Source§fn default() -> ConfigTarget
fn default() -> ConfigTarget
Returns the “default value” for a type. Read more
Source§impl Field<CfgChapters> for ConfigTarget
impl Field<CfgChapters> for ConfigTarget
Source§impl Field<CfgDefaults> for ConfigTarget
impl Field<CfgDefaults> for ConfigTarget
Source§impl Field<CfgForceds> for ConfigTarget
impl Field<CfgForceds> for ConfigTarget
Source§impl Field<CfgLangs> for ConfigTarget
impl Field<CfgLangs> for ConfigTarget
Source§impl Field<CfgNames> for ConfigTarget
impl Field<CfgNames> for ConfigTarget
Source§impl Field<CfgStreams> for ConfigTarget
impl Field<CfgStreams> for ConfigTarget
Source§impl FromArgMatches for ConfigTarget
impl FromArgMatches for ConfigTarget
Source§fn from_arg_matches(m: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(m: &ArgMatches) -> Result<Self, Error>
Source§fn update_from_arg_matches(&mut self, m: &ArgMatches) -> Result<(), Error>
fn update_from_arg_matches(&mut self, m: &ArgMatches) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn from_arg_matches_mut(m: &mut ArgMatches) -> Result<Self, Error>
fn from_arg_matches_mut(m: &mut ArgMatches) -> Result<Self, Error>
Source§fn update_from_arg_matches_mut(
&mut self,
m: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, m: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl IsDefault for ConfigTarget
impl IsDefault for ConfigTarget
Source§fn is_default(&self) -> bool
fn is_default(&self) -> bool
Source§impl PartialEq for ConfigTarget
impl PartialEq for ConfigTarget
Source§impl ToJsonArgs for ConfigTarget
impl ToJsonArgs for ConfigTarget
Source§fn append_json_args(&self, args: &mut Vec<String>)
fn append_json_args(&self, args: &mut Vec<String>)
Appends arguments to the given
args vector.Source§fn to_json_args(&self) -> Vec<String>
fn to_json_args(&self) -> Vec<String>
Returns arguments.
impl StructuralPartialEq for ConfigTarget
Auto Trait Implementations§
impl Freeze for ConfigTarget
impl RefUnwindSafe for ConfigTarget
impl Send for ConfigTarget
impl Sync for ConfigTarget
impl Unpin for ConfigTarget
impl UnwindSafe for ConfigTarget
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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