pub struct ContextCheckpointTextV2(/* private fields */);Expand description
Bounded human-readable Unicode text used only by V3.
Implementations§
Source§impl ContextCheckpointTextV2
impl ContextCheckpointTextV2
Sourcepub fn new(value: impl Into<String>) -> Result<Self, ValidationError>
pub fn new(value: impl Into<String>) -> Result<Self, ValidationError>
Construct text after applying the portable Unicode security profile.
Sourcepub fn into_inner(self) -> String
pub fn into_inner(self) -> String
Consume the value and return its wire representation.
Trait Implementations§
Source§impl AsRef<str> for ContextCheckpointTextV2
impl AsRef<str> for ContextCheckpointTextV2
Source§impl Clone for ContextCheckpointTextV2
impl Clone for ContextCheckpointTextV2
Source§impl Debug for ContextCheckpointTextV2
impl Debug for ContextCheckpointTextV2
Source§impl<'de> Deserialize<'de> for ContextCheckpointTextV2
impl<'de> Deserialize<'de> for ContextCheckpointTextV2
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 ContextCheckpointTextV2
Source§impl From<ContextCheckpointTextV2> for String
impl From<ContextCheckpointTextV2> for String
Source§fn from(value: ContextCheckpointTextV2) -> Self
fn from(value: ContextCheckpointTextV2) -> Self
Converts to this type from the input type.
Source§impl FromStr for ContextCheckpointTextV2
impl FromStr for ContextCheckpointTextV2
Source§impl Hash for ContextCheckpointTextV2
impl Hash for ContextCheckpointTextV2
Source§impl Ord for ContextCheckpointTextV2
impl Ord for ContextCheckpointTextV2
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 ContextCheckpointTextV2
impl PartialEq for ContextCheckpointTextV2
Source§impl PartialOrd for ContextCheckpointTextV2
impl PartialOrd for ContextCheckpointTextV2
Source§impl Serialize for ContextCheckpointTextV2
impl Serialize for ContextCheckpointTextV2
impl StructuralPartialEq for ContextCheckpointTextV2
Source§impl TryFrom<&str> for ContextCheckpointTextV2
impl TryFrom<&str> for ContextCheckpointTextV2
Auto Trait Implementations§
impl Forget for ContextCheckpointTextV2
impl Freeze for ContextCheckpointTextV2
impl Move for ContextCheckpointTextV2
impl RefUnwindSafe for ContextCheckpointTextV2
impl Send for ContextCheckpointTextV2
impl Sync for ContextCheckpointTextV2
impl Unpin for ContextCheckpointTextV2
impl UnsafeUnpin for ContextCheckpointTextV2
impl UnwindSafe for ContextCheckpointTextV2
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