pub trait MultiValuesSetArg<'a>: MultiValuesSetArgSealed {
type Item: 'a + Clone;
// Required method
fn apply(self, target: &mut MultiValues) -> ValueResult<()>;
}Expand description
Internal dispatch trait for MultiValues::set<S>().
Implementations route Vec<T>, &[T], and T to the matching set path.
Required Associated Types§
Required Methods§
Sourcefn apply(self, target: &mut MultiValues) -> ValueResult<()>
fn apply(self, target: &mut MultiValues) -> ValueResult<()>
Applies this argument to target.
§Returns
Returns Ok(()) when the target is updated, or a ValueError from the
selected set path.