pub struct CodeServerArgs {Show 19 fields
pub host: Option<String>,
pub port: Option<u16>,
pub socket_path: Option<String>,
pub telemetry_level: Option<TelemetryLevel>,
pub log: Option<Level>,
pub accept_server_license_terms: bool,
pub verbose: bool,
pub install_extensions: Vec<String>,
pub uninstall_extensions: Vec<String>,
pub update_extensions: bool,
pub list_extensions: bool,
pub show_versions: bool,
pub category: Option<String>,
pub pre_release: bool,
pub force: bool,
pub start_server: bool,
pub connection_token: Option<String>,
pub connection_token_file: Option<String>,
pub without_connection_token: bool,
}
Fields§
§host: Option<String>
§port: Option<u16>
§socket_path: Option<String>
§telemetry_level: Option<TelemetryLevel>
§log: Option<Level>
§accept_server_license_terms: bool
§verbose: bool
§install_extensions: Vec<String>
§uninstall_extensions: Vec<String>
§update_extensions: bool
§list_extensions: bool
§show_versions: bool
§category: Option<String>
§pre_release: bool
§force: bool
§start_server: bool
§connection_token: Option<String>
§connection_token_file: Option<String>
§without_connection_token: bool
Implementations§
Source§impl CodeServerArgs
impl CodeServerArgs
pub fn log_level(&self) -> Level
pub fn telemetry_disabled(&self) -> bool
pub fn command_arguments(&self) -> Vec<String>
Trait Implementations§
Source§impl Clone for CodeServerArgs
impl Clone for CodeServerArgs
Source§fn clone(&self) -> CodeServerArgs
fn clone(&self) -> CodeServerArgs
Returns a copy 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 CodeServerArgs
impl Debug for CodeServerArgs
Source§impl Default for CodeServerArgs
impl Default for CodeServerArgs
Source§fn default() -> CodeServerArgs
fn default() -> CodeServerArgs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CodeServerArgs
impl RefUnwindSafe for CodeServerArgs
impl Send for CodeServerArgs
impl Sync for CodeServerArgs
impl Unpin for CodeServerArgs
impl UnwindSafe for CodeServerArgs
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