pub struct ConfigValueWriteParams {
pub expected_version: Option<String>,
pub file_path: Option<String>,
pub key_path: String,
pub merge_strategy: MergeStrategy,
pub value: Value,
}Fields§
§expected_version: Option<String>§file_path: Option<String>§key_path: String§merge_strategy: MergeStrategy§value: ValueTrait Implementations§
Source§impl Clone for ConfigValueWriteParams
impl Clone for ConfigValueWriteParams
Source§fn clone(&self) -> ConfigValueWriteParams
fn clone(&self) -> ConfigValueWriteParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConfigValueWriteParams
impl Debug for ConfigValueWriteParams
Source§impl<'de> Deserialize<'de> for ConfigValueWriteParams
impl<'de> Deserialize<'de> for ConfigValueWriteParams
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 ConfigValueWriteParams
impl PartialEq for ConfigValueWriteParams
Source§fn eq(&self, other: &ConfigValueWriteParams) -> bool
fn eq(&self, other: &ConfigValueWriteParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ConfigValueWriteParams
impl Serialize for ConfigValueWriteParams
impl StructuralPartialEq for ConfigValueWriteParams
Auto Trait Implementations§
impl Freeze for ConfigValueWriteParams
impl RefUnwindSafe for ConfigValueWriteParams
impl Send for ConfigValueWriteParams
impl Sync for ConfigValueWriteParams
impl Unpin for ConfigValueWriteParams
impl UnsafeUnpin for ConfigValueWriteParams
impl UnwindSafe for ConfigValueWriteParams
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