#[non_exhaustive]pub struct ConfigEntryOptions { /* private fields */ }Expand description
The parameters of Java’s widest ConfigEntry constructor
(ConfigEntry(String, String, ConfigSource, boolean, boolean, List, ConfigType, String)),
taken by ConfigEntry::with_options.
It has no Default: name and value are mandatory. Build it with
ConfigEntryOptionsBuilder, whose build
returns an error if either was not set.
Debug renders a sensitive value as "Redacted", as the ConfigEntry
built from it renders it.
Trait Implementations§
Source§impl Clone for ConfigEntryOptions
impl Clone for ConfigEntryOptions
Source§fn clone(&self) -> ConfigEntryOptions
fn clone(&self) -> ConfigEntryOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ConfigEntryOptions
Renders every field as the derive it replaces did, except that the value of
a sensitive entry renders as "Redacted", the word Java’s
ConfigEntry.toString() prints for it.
impl Debug for ConfigEntryOptions
Renders every field as the derive it replaces did, except that the value of
a sensitive entry renders as "Redacted", the word Java’s
ConfigEntry.toString() prints for it.
This struct has no Java counterpart, so it has no Java rendering of its
own. It carries the values of the ConfigEntry it builds, which never
renders a sensitive value, so a derived Debug here would print what the
entry itself hides.
Source§impl PartialEq for ConfigEntryOptions
impl PartialEq for ConfigEntryOptions
impl Eq for ConfigEntryOptions
impl StructuralPartialEq for ConfigEntryOptions
Auto Trait Implementations§
impl Freeze for ConfigEntryOptions
impl RefUnwindSafe for ConfigEntryOptions
impl Send for ConfigEntryOptions
impl Sync for ConfigEntryOptions
impl Unpin for ConfigEntryOptions
impl UnsafeUnpin for ConfigEntryOptions
impl UnwindSafe for ConfigEntryOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.