Struct proto_pdk_api::UserConfigSettings
source · pub struct UserConfigSettings {
pub auto_clean: bool,
pub auto_install: bool,
pub node_intercept_globals: bool,
}
Expand description
The current user’s proto configuration.
Fields§
§auto_clean: bool
§auto_install: bool
§node_intercept_globals: bool
Trait Implementations§
source§impl Clone for UserConfigSettings
impl Clone for UserConfigSettings
source§fn clone(&self) -> UserConfigSettings
fn clone(&self) -> UserConfigSettings
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 UserConfigSettings
impl Debug for UserConfigSettings
source§impl Default for UserConfigSettings
impl Default for UserConfigSettings
source§fn default() -> UserConfigSettings
fn default() -> UserConfigSettings
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UserConfigSettingswhere
UserConfigSettings: Default,
impl<'de> Deserialize<'de> for UserConfigSettingswhere
UserConfigSettings: Default,
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 PartialEq for UserConfigSettings
impl PartialEq for UserConfigSettings
source§fn eq(&self, other: &UserConfigSettings) -> bool
fn eq(&self, other: &UserConfigSettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UserConfigSettings
impl Serialize for UserConfigSettings
impl Eq for UserConfigSettings
impl StructuralEq for UserConfigSettings
impl StructuralPartialEq for UserConfigSettings
Auto Trait Implementations§
impl RefUnwindSafe for UserConfigSettings
impl Send for UserConfigSettings
impl Sync for UserConfigSettings
impl Unpin for UserConfigSettings
impl UnwindSafe for UserConfigSettings
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