pub enum SdkSource {
Path(PathBuf),
Version(String),
}Expand description
Where the SDK comes from in a new crate’s Cargo.toml.
Variants§
Implementations§
Source§impl SdkSource
impl SdkSource
Sourcepub fn default_for_this_build() -> Self
pub fn default_for_this_build() -> Self
The SDK this CLI was built beside when it runs from a Standard Code checkout that still has it, else the crates.io release line of this CLI (the SDK and CLI share one version).
Trait Implementations§
impl Eq for SdkSource
impl StructuralPartialEq for SdkSource
Auto Trait Implementations§
impl Freeze for SdkSource
impl RefUnwindSafe for SdkSource
impl Send for SdkSource
impl Sync for SdkSource
impl Unpin for SdkSource
impl UnsafeUnpin for SdkSource
impl UnwindSafe for SdkSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.