pub struct Select {
pub option: String,
pub value: String,
pub separator: String,
pub when_absent: String,
pub strip: bool,
}Expand description
Per-target line selection by a build list option.
Fields§
§option: StringLong option that carries the selection on a build list line, leading dashes included: option = "--name" reads --name=a,b or --name a,b.
value: StringThis target’s token in the option’s value list.
separator: StringSeparator between tokens in the option’s value.
when_absent: Stringall plans a line that lacks the option for this target; none skips it.
strip: boolRemove the option from the line before eb is called.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Select
impl<'de> Deserialize<'de> for Select
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Select
Auto Trait Implementations§
impl Freeze for Select
impl RefUnwindSafe for Select
impl Send for Select
impl Sync for Select
impl Unpin for Select
impl UnwindSafe for Select
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