pub struct MavenLibraryParts {
pub orgs: Vec<String>,
pub package: String,
pub version: String,
}
Expand description
Sections of a Maven library string
Fields§
§orgs: Vec<String>
The organizations of the package
package: String
The package name
version: String
The version of the package
Implementations§
source§impl MavenLibraryParts
impl MavenLibraryParts
sourcepub fn parse_from_str(string: &str) -> Option<Self>
pub fn parse_from_str(string: &str) -> Option<Self>
Extract the parts of a library string
Trait Implementations§
source§impl Debug for MavenLibraryParts
impl Debug for MavenLibraryParts
source§impl PartialEq<MavenLibraryParts> for MavenLibraryParts
impl PartialEq<MavenLibraryParts> for MavenLibraryParts
source§fn eq(&self, other: &MavenLibraryParts) -> bool
fn eq(&self, other: &MavenLibraryParts) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MavenLibraryParts
Auto Trait Implementations§
impl RefUnwindSafe for MavenLibraryParts
impl Send for MavenLibraryParts
impl Sync for MavenLibraryParts
impl Unpin for MavenLibraryParts
impl UnwindSafe for MavenLibraryParts
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