pub struct DeployMetadata {
    pub group_id: String,
    pub artifact_id: String,
    pub versioning: StableVersioning,
}Fields§
§group_id: String§artifact_id: String§versioning: StableVersioningImplementations§
Source§impl DeployMetadata
 
impl DeployMetadata
Sourcepub fn get_latest_version(&self) -> Option<&String>
 
pub fn get_latest_version(&self) -> Option<&String>
Attempts to pull latest Then attempts to pull release Then attempts te first version in the list
Sourcepub fn get_latest_artifact_name(
    &self,
    extension: impl Into<MavenFileExtension>,
) -> Option<(&str, String)>
 
pub fn get_latest_artifact_name( &self, extension: impl Into<MavenFileExtension>, ) -> Option<(&str, String)>
Returns a tuple of the latest version and the artifact name.
pub fn get_artifact_name( &self, version: &str, extension: impl Into<MavenFileExtension>, ) -> String
Trait Implementations§
Source§impl Clone for DeployMetadata
 
impl Clone for DeployMetadata
Source§fn clone(&self) -> DeployMetadata
 
fn clone(&self) -> DeployMetadata
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 DeployMetadata
 
impl Debug for DeployMetadata
Source§impl<'de> Deserialize<'de> for DeployMetadata
 
impl<'de> Deserialize<'de> for DeployMetadata
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
Auto Trait Implementations§
impl Freeze for DeployMetadata
impl RefUnwindSafe for DeployMetadata
impl Send for DeployMetadata
impl Sync for DeployMetadata
impl Unpin for DeployMetadata
impl UnwindSafe for DeployMetadata
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