pub struct ServerOptionsPatch {
pub log_level: Option<LevelFilter>,
pub lint: LintOptionsPatch,
pub exceptions: Option<Vec<String>>,
pub ignore_filename: Option<Option<String>>,
}Fields§
§log_level: Option<LevelFilter>§lint: LintOptionsPatch§exceptions: Option<Vec<String>>§ignore_filename: Option<Option<String>>Trait Implementations§
Source§impl Add for ServerOptionsPatch
impl Add for ServerOptionsPatch
Source§impl Debug for ServerOptionsPatch
impl Debug for ServerOptionsPatch
Source§impl Default for ServerOptionsPatch
impl Default for ServerOptionsPatch
Source§fn default() -> ServerOptionsPatch
fn default() -> ServerOptionsPatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServerOptionsPatch
impl<'de> Deserialize<'de> for ServerOptionsPatch
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
Source§impl Patch<ServerOptionsPatch> for ServerOptions
impl Patch<ServerOptionsPatch> for ServerOptions
Source§fn apply(&mut self, patch: ServerOptionsPatch)
fn apply(&mut self, patch: ServerOptionsPatch)
Apply a patch
Source§fn into_patch(self) -> ServerOptionsPatch
fn into_patch(self) -> ServerOptionsPatch
Returns a patch that when applied turns any struct of the same type into
SelfSource§fn into_patch_by_diff(self, previous_struct: Self) -> ServerOptionsPatch
fn into_patch_by_diff(self, previous_struct: Self) -> ServerOptionsPatch
Returns a patch that when applied turns
previous_struct into SelfSource§fn new_empty_patch() -> ServerOptionsPatch
fn new_empty_patch() -> ServerOptionsPatch
Get an empty patch instance
Source§impl Shl<ServerOptionsPatch> for ServerOptions
impl Shl<ServerOptionsPatch> for ServerOptions
Source§type Output = ServerOptions
type Output = ServerOptions
The resulting type after applying the
<< operator.Source§fn shl(self, rhs: ServerOptionsPatch) -> Self
fn shl(self, rhs: ServerOptionsPatch) -> Self
Performs the
<< operation. Read moreAuto Trait Implementations§
impl Freeze for ServerOptionsPatch
impl RefUnwindSafe for ServerOptionsPatch
impl Send for ServerOptionsPatch
impl Sync for ServerOptionsPatch
impl Unpin for ServerOptionsPatch
impl UnsafeUnpin for ServerOptionsPatch
impl UnwindSafe for ServerOptionsPatch
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more