pub struct CustomChannel {
pub exec: String,
pub args: Vec<String>,
pub env: BTreeMap<String, String>,
}Expand description
Configuration for type: custom.
Fields§
§exec: StringExecutable name or path.
args: Vec<String>Optional command-line arguments.
env: BTreeMap<String, String>Optional environment variable overrides.
Trait Implementations§
Source§impl Clone for CustomChannel
impl Clone for CustomChannel
Source§fn clone(&self) -> CustomChannel
fn clone(&self) -> CustomChannel
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 CustomChannel
impl Debug for CustomChannel
Source§impl<'de> Deserialize<'de> for CustomChannel
impl<'de> Deserialize<'de> for CustomChannel
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
Auto Trait Implementations§
impl Freeze for CustomChannel
impl RefUnwindSafe for CustomChannel
impl Send for CustomChannel
impl Sync for CustomChannel
impl Unpin for CustomChannel
impl UnsafeUnpin for CustomChannel
impl UnwindSafe for CustomChannel
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