pub enum ParamState {
Plain {
source: Option<Source>,
differs: bool,
value: Option<Value>,
},
Sensitive {
source: Option<Source>,
},
}Expand description
One parameter as the record carries it (§2.3).
Variants§
Plain
A parameter that is not sensitive: its source and value, absent when unknown, and whether its startup value differs.
Sensitive
A sensitive parameter: its source alone (§2.15).
Trait Implementations§
Source§impl Clone for ParamState
impl Clone for ParamState
Source§impl Debug for ParamState
impl Debug for ParamState
Source§impl<'de> Deserialize<'de> for ParamState
impl<'de> Deserialize<'de> for ParamState
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
impl Eq for ParamState
Source§impl PartialEq for ParamState
impl PartialEq for ParamState
Source§impl Serialize for ParamState
impl Serialize for ParamState
impl StructuralPartialEq for ParamState
Auto Trait Implementations§
impl Forget for ParamState
impl Freeze for ParamState
impl Move for ParamState
impl RefUnwindSafe for ParamState
impl Send for ParamStatewhere
RawVecInner: Send,
impl Sync for ParamStatewhere
RawVecInner: Sync,
impl Unpin for ParamState
impl UnsafeUnpin for ParamState
impl UnwindSafe for ParamStatewhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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