pub struct StudyVersion(/* private fields */);
Expand description
Represents the study version of a denomination specified by a DenominationInfo.
Implementations§
Source§impl StudyVersion
impl StudyVersion
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new StudyVersion.
Sourcepub fn create(c: &str) -> Self
pub fn create(c: &str) -> Self
Creates a new StudyVersion from the provided parameter.
Sourcepub fn inner(&self) -> &str
pub fn inner(&self) -> &str
Gets the inner representation of the StudyVersion.
Sourcepub fn set_inner(&mut self, v: &str)
pub fn set_inner(&mut self, v: &str)
Sets the inner representation of the StudyVersion.
Sourcepub fn into_inner(self) -> String
pub fn into_inner(self) -> String
Converts into the inner representation of the StudyVersion.
Trait Implementations§
Source§impl Clone for StudyVersion
impl Clone for StudyVersion
Source§fn clone(&self) -> StudyVersion
fn clone(&self) -> StudyVersion
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 moreSource§impl Debug for StudyVersion
impl Debug for StudyVersion
Source§impl Default for StudyVersion
impl Default for StudyVersion
Source§impl Display for StudyVersion
impl Display for StudyVersion
Source§impl From<&StudyVersion> for String
impl From<&StudyVersion> for String
Source§fn from(val: &StudyVersion) -> Self
fn from(val: &StudyVersion) -> Self
Converts to this type from the input type.
Source§impl From<&StudyVersion> for XfsMember
impl From<&StudyVersion> for XfsMember
Source§fn from(val: &StudyVersion) -> Self
fn from(val: &StudyVersion) -> Self
Converts to this type from the input type.
Source§impl From<&StudyVersion> for XfsValue
impl From<&StudyVersion> for XfsValue
Source§fn from(val: &StudyVersion) -> Self
fn from(val: &StudyVersion) -> Self
Converts to this type from the input type.
Source§impl From<&str> for StudyVersion
impl From<&str> for StudyVersion
Source§impl From<String> for StudyVersion
impl From<String> for StudyVersion
Source§impl From<StudyVersion> for String
impl From<StudyVersion> for String
Source§fn from(val: StudyVersion) -> Self
fn from(val: StudyVersion) -> Self
Converts to this type from the input type.
Source§impl From<StudyVersion> for XfsMember
impl From<StudyVersion> for XfsMember
Source§fn from(val: StudyVersion) -> Self
fn from(val: StudyVersion) -> Self
Converts to this type from the input type.
Source§impl From<StudyVersion> for XfsValue
impl From<StudyVersion> for XfsValue
Source§fn from(val: StudyVersion) -> Self
fn from(val: StudyVersion) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StudyVersion
impl PartialEq for StudyVersion
Source§impl TryFrom<&XfsMember> for StudyVersion
impl TryFrom<&XfsMember> for StudyVersion
Source§impl TryFrom<&XfsValue> for StudyVersion
impl TryFrom<&XfsValue> for StudyVersion
Source§impl TryFrom<XfsMember> for StudyVersion
impl TryFrom<XfsMember> for StudyVersion
Source§impl TryFrom<XfsValue> for StudyVersion
impl TryFrom<XfsValue> for StudyVersion
impl Eq for StudyVersion
impl StructuralPartialEq for StudyVersion
Auto Trait Implementations§
impl Freeze for StudyVersion
impl RefUnwindSafe for StudyVersion
impl Send for StudyVersion
impl Sync for StudyVersion
impl Unpin for StudyVersion
impl UnwindSafe for StudyVersion
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