Struct multiversx_sc_meta::folder_structure::VersionReq
source · pub struct VersionReq {
pub semver: FrameworkVersion,
pub is_strict: bool,
}
Expand description
Crate version requirements, as expressed in Cargo.toml. A very crude version.
TODO: replace with semver::VersionReq at some point.
Fields§
§semver: FrameworkVersion
§is_strict: bool
Implementations§
source§impl VersionReq
impl VersionReq
pub fn from_string(raw: String) -> Self
pub fn into_string(self) -> String
Trait Implementations§
source§impl Clone for VersionReq
impl Clone for VersionReq
source§fn clone(&self) -> VersionReq
fn clone(&self) -> VersionReq
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for VersionReq
impl RefUnwindSafe for VersionReq
impl Send for VersionReq
impl Sync for VersionReq
impl Unpin for VersionReq
impl UnwindSafe for VersionReq
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