pub enum OpenParam<'a> {
Item {
value: &'a str,
desc: &'a str,
},
Seq {
values: &'a [&'a str],
desc: &'a str,
separator: char,
},
}
Expand description
§Specification of open parameters for a source plugin instance
Note: this appears unused as of API version 3.4.0
Variants§
Item
§A single string valid as a sample open parameter
Seq
§A sequence of strings, each valid as a sample open parameter
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for OpenParam<'a>
impl<'a> RefUnwindSafe for OpenParam<'a>
impl<'a> Send for OpenParam<'a>
impl<'a> Sync for OpenParam<'a>
impl<'a> Unpin for OpenParam<'a>
impl<'a> UnwindSafe for OpenParam<'a>
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