#[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),
ConfigEntry.java:59).
This struct has no Java counterpart (DoD #7). It exists solely to satisfy
CLAUDE.md §2’s cap on derived overload names: that constructor differs from
the group’s intersection {name, value} by six parameters, so the cap fires
and this struct becomes the method’s only parameter, carrying every Java
parameter including the intersection’s own.
It deliberately has no Default. name and value are what even Java’s
narrow constructor (:44) takes from its caller, so neither has a
Java-derived default, and a synthesised empty name would produce an entry
naming no config at all. Construct it with ConfigEntryOptionsBuilder::new
and set them: ConfigEntryOptionsBuilder::build returns an error if any of name, value was not set.
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
impl Debug for ConfigEntryOptions
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.