pub struct SchemaLoweringProfileId(/* private fields */);Expand description
A validated schema-lowering profile identifier.
Implementations§
Source§impl SchemaLoweringProfileId
impl SchemaLoweringProfileId
Sourcepub fn new(
value: impl Into<String>,
) -> Result<Self, SchemaLoweringProfileValidationError>
pub fn new( value: impl Into<String>, ) -> Result<Self, SchemaLoweringProfileValidationError>
Validates the fixed V2 schema-lowering profile identifier.
Sourcepub fn typedb_3_12_1() -> Self
pub fn typedb_3_12_1() -> Self
Returns the fixed TypeDB 3.12.1 profile identifier.
Trait Implementations§
Source§impl Clone for SchemaLoweringProfileId
impl Clone for SchemaLoweringProfileId
Source§fn clone(&self) -> SchemaLoweringProfileId
fn clone(&self) -> SchemaLoweringProfileId
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 SchemaLoweringProfileId
impl Debug for SchemaLoweringProfileId
Source§impl<'de> Deserialize<'de> for SchemaLoweringProfileId
impl<'de> Deserialize<'de> for SchemaLoweringProfileId
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
Source§impl Display for SchemaLoweringProfileId
impl Display for SchemaLoweringProfileId
impl Eq for SchemaLoweringProfileId
Source§impl Hash for SchemaLoweringProfileId
impl Hash for SchemaLoweringProfileId
Source§impl Ord for SchemaLoweringProfileId
impl Ord for SchemaLoweringProfileId
Source§fn cmp(&self, other: &SchemaLoweringProfileId) -> Ordering
fn cmp(&self, other: &SchemaLoweringProfileId) -> Ordering
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 SchemaLoweringProfileId
impl PartialEq for SchemaLoweringProfileId
Source§impl PartialOrd for SchemaLoweringProfileId
impl PartialOrd for SchemaLoweringProfileId
Source§impl Serialize for SchemaLoweringProfileId
impl Serialize for SchemaLoweringProfileId
impl StructuralPartialEq for SchemaLoweringProfileId
Auto Trait Implementations§
impl Freeze for SchemaLoweringProfileId
impl RefUnwindSafe for SchemaLoweringProfileId
impl Send for SchemaLoweringProfileId
impl Sync for SchemaLoweringProfileId
impl Unpin for SchemaLoweringProfileId
impl UnsafeUnpin for SchemaLoweringProfileId
impl UnwindSafe for SchemaLoweringProfileId
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