pub enum Extensibility {
Final,
Appendable,
Mutable,
}Expand description
Struct extensibility. DDS-XTypes 1.3 §7.2.4.4.
Ordered so that it can sit in a layout key, which the plan cache keys on: the order is the declaration order and carries no meaning of its own.
Variants§
Final
@final — no evolution.
Appendable
@appendable — members may be appended.
Mutable
@mutable — members carry ids and may be reordered.
Implementations§
Source§impl Extensibility
impl Extensibility
Sourcepub fn parse(value: &str) -> Option<Self>
pub fn parse(value: &str) -> Option<Self>
Parse a configuration value, in the spelling Self::as_str
produces.
An unknown value returns None rather than falling back to a
default: the setting decides whether a DHEADER goes on the wire,
and a typo in it must be loud.
Trait Implementations§
Source§impl Clone for Extensibility
impl Clone for Extensibility
impl Copy for Extensibility
Source§impl Debug for Extensibility
impl Debug for Extensibility
impl Eq for Extensibility
Source§impl Hash for Extensibility
impl Hash for Extensibility
Source§impl Ord for Extensibility
impl Ord for Extensibility
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for Extensibility
impl PartialEq for Extensibility
Source§impl PartialOrd for Extensibility
impl PartialOrd for Extensibility
impl StructuralPartialEq for Extensibility
Auto Trait Implementations§
impl Freeze for Extensibility
impl RefUnwindSafe for Extensibility
impl Send for Extensibility
impl Sync for Extensibility
impl Unpin for Extensibility
impl UnsafeUnpin for Extensibility
impl UnwindSafe for Extensibility
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