pub struct SdkModule { /* private fields */ }Implementations§
Source§impl SdkModule
impl SdkModule
pub fn new(path: impl Into<String>, version: impl Into<String>) -> Self
pub fn with_replacement(self, replacement: SdkModuleReplacement) -> Self
pub fn path(&self) -> &str
pub fn version(&self) -> &str
pub const fn replacement(&self) -> Option<&SdkModuleReplacement>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SdkModule
impl<'de> Deserialize<'de> for SdkModule
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 SdkModule
Source§impl Ord for SdkModule
impl Ord for SdkModule
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 PartialOrd for SdkModule
impl PartialOrd for SdkModule
impl StructuralPartialEq for SdkModule
Auto Trait Implementations§
impl Freeze for SdkModule
impl RefUnwindSafe for SdkModule
impl Send for SdkModule
impl Sync for SdkModule
impl Unpin for SdkModule
impl UnsafeUnpin for SdkModule
impl UnwindSafe for SdkModule
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