pub struct TogetherConfigFile {
pub start_options: ConfigFileStartOptions,
pub running: Option<Vec<CommandIndex>>,
pub startup: Option<Vec<CommandIndex>>,
pub version: Option<String>,
}Fields§
§start_options: ConfigFileStartOptions§running: Option<Vec<CommandIndex>>§startup: Option<Vec<CommandIndex>>§version: Option<String>Implementations§
Source§impl TogetherConfigFile
impl TogetherConfigFile
pub fn with_running(self, running: &[impl AsRef<str>]) -> Self
pub fn running_commands(&self) -> Option<Vec<&str>>
Trait Implementations§
Source§impl Clone for TogetherConfigFile
impl Clone for TogetherConfigFile
Source§fn clone(&self) -> TogetherConfigFile
fn clone(&self) -> TogetherConfigFile
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 TogetherConfigFile
impl Debug for TogetherConfigFile
Source§impl<'de> Deserialize<'de> for TogetherConfigFile
impl<'de> Deserialize<'de> for TogetherConfigFile
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 TogetherConfigFile
impl RefUnwindSafe for TogetherConfigFile
impl Send for TogetherConfigFile
impl Sync for TogetherConfigFile
impl Unpin for TogetherConfigFile
impl UnwindSafe for TogetherConfigFile
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