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() -> StudyVersion
pub const fn new() -> StudyVersion
Creates a new StudyVersion.
Sourcepub fn create(c: &str) -> StudyVersion
pub fn create(c: &str) -> StudyVersion
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§fn default() -> StudyVersion
fn default() -> StudyVersion
Returns the “default value” for a type. Read more
Source§impl Display for StudyVersion
impl Display for StudyVersion
Source§impl From<&StudyVersion> for XfsMember
impl From<&StudyVersion> for XfsMember
Source§fn from(val: &StudyVersion) -> XfsMember
fn from(val: &StudyVersion) -> XfsMember
Converts to this type from the input type.
Source§impl From<&StudyVersion> for XfsValue
impl From<&StudyVersion> for XfsValue
Source§fn from(val: &StudyVersion) -> XfsValue
fn from(val: &StudyVersion) -> XfsValue
Converts to this type from the input type.
Source§impl From<&str> for StudyVersion
impl From<&str> for StudyVersion
Source§fn from(val: &str) -> StudyVersion
fn from(val: &str) -> StudyVersion
Converts to this type from the input type.
Source§impl From<String> for StudyVersion
impl From<String> for StudyVersion
Source§fn from(val: String) -> StudyVersion
fn from(val: String) -> StudyVersion
Converts to this type from the input type.
Source§impl From<StudyVersion> for XfsMember
impl From<StudyVersion> for XfsMember
Source§fn from(val: StudyVersion) -> XfsMember
fn from(val: StudyVersion) -> XfsMember
Converts to this type from the input type.
Source§impl From<StudyVersion> for XfsValue
impl From<StudyVersion> for XfsValue
Source§fn from(val: StudyVersion) -> XfsValue
fn from(val: StudyVersion) -> XfsValue
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