pub struct DogSectionToml(/* private fields */);Expand description
A dog’s [dog.<name>] config section, carried as TOML text.
Travels over the socket rather than the child’s environment: a dog’s
section routinely holds webhook credentials, and the socket keeps them
out of the process table and out of crash dumps. The manual Debug
below prints only a length, since Response derives Debug.
Self::as_str is the only way out: a Deref<Target = str> would hand
the type ToString and defeat that Debug.
#[serde(transparent)]: the wire representation is a bare String.
Implementations§
Trait Implementations§
Source§impl Clone for DogSectionToml
impl Clone for DogSectionToml
Source§fn clone(&self) -> DogSectionToml
fn clone(&self) -> DogSectionToml
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 DogSectionToml
Prints a length, never the section body. Pinned as an exact string by
dog_section_toml_debug_does_not_leak.
impl Debug for DogSectionToml
Prints a length, never the section body. Pinned as an exact string by
dog_section_toml_debug_does_not_leak.
Source§impl<'de> Deserialize<'de> for DogSectionToml
impl<'de> Deserialize<'de> for DogSectionToml
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 DogSectionToml
Source§impl From<String> for DogSectionToml
impl From<String> for DogSectionToml
Source§impl PartialEq for DogSectionToml
impl PartialEq for DogSectionToml
Source§impl Serialize for DogSectionToml
impl Serialize for DogSectionToml
impl StructuralPartialEq for DogSectionToml
Auto Trait Implementations§
impl Freeze for DogSectionToml
impl RefUnwindSafe for DogSectionToml
impl Send for DogSectionToml
impl Sync for DogSectionToml
impl Unpin for DogSectionToml
impl UnsafeUnpin for DogSectionToml
impl UnwindSafe for DogSectionToml
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> 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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.