Struct PlanStepId
pub struct PlanStepId(/* private fields */);Implementations§
§impl PlanStepId
impl PlanStepId
pub fn new(value: impl AsRef<str>) -> Result<PlanStepId, PlanningError>
pub fn as_str(&self) -> &str
pub fn value(&self) -> &str
pub fn into_string(self) -> String
Trait Implementations§
§impl AsRef<str> for PlanStepId
impl AsRef<str> for PlanStepId
§impl Clone for PlanStepId
impl Clone for PlanStepId
§fn clone(&self) -> PlanStepId
fn clone(&self) -> PlanStepId
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for PlanStepId
impl Debug for PlanStepId
§impl Display for PlanStepId
impl Display for PlanStepId
§impl FromStr for PlanStepId
impl FromStr for PlanStepId
§type Err = PlanningError
type Err = PlanningError
The associated error which can be returned from parsing.
§fn from_str(value: &str) -> Result<PlanStepId, <PlanStepId as FromStr>::Err>
fn from_str(value: &str) -> Result<PlanStepId, <PlanStepId as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for PlanStepId
impl Hash for PlanStepId
§impl Ord for PlanStepId
impl Ord for PlanStepId
§impl PartialEq for PlanStepId
impl PartialEq for PlanStepId
§impl PartialOrd for PlanStepId
impl PartialOrd for PlanStepId
§impl TryFrom<&str> for PlanStepId
impl TryFrom<&str> for PlanStepId
§type Error = PlanningError
type Error = PlanningError
The type returned in the event of a conversion error.
§fn try_from(
value: &str,
) -> Result<PlanStepId, <PlanStepId as TryFrom<&str>>::Error>
fn try_from( value: &str, ) -> Result<PlanStepId, <PlanStepId as TryFrom<&str>>::Error>
Performs the conversion.
impl Eq for PlanStepId
impl StructuralPartialEq for PlanStepId
Auto Trait Implementations§
impl Freeze for PlanStepId
impl RefUnwindSafe for PlanStepId
impl Send for PlanStepId
impl Sync for PlanStepId
impl Unpin for PlanStepId
impl UnsafeUnpin for PlanStepId
impl UnwindSafe for PlanStepId
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