pub struct Maven {
pub group_id: String,
pub artifact_id: String,
}Fields§
§group_id: String§artifact_id: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Maven
impl<'de> Deserialize<'de> for Maven
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 Forget for Maven
impl Freeze for Maven
impl Move for Maven
impl RefUnwindSafe for Maven
impl Send for Mavenwhere
RawVecInner: Send,
impl Sync for Mavenwhere
RawVecInner: Sync,
impl Unpin for Maven
impl UnsafeUnpin for Maven
impl UnwindSafe for Mavenwhere
RawVecInner: UnwindSafe,
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Output for T
impl<T> Output for T
Source§fn write_json_to(&self, out: &mut dyn Write) -> Result<(), Error>
fn write_json_to(&self, out: &mut dyn Write) -> Result<(), Error>
Stream serialization to a bounded sink. Custom erased outputs can
override this to avoid the default intermediate JSON value.
fn to_json(&self) -> Value
Source§fn write_json(&self, out: &mut Vec<u8>) -> Result<(), Error>
fn write_json(&self, out: &mut Vec<u8>) -> Result<(), Error>
Serializes into
out. Every serializable output writes straight to
bytes; this default, for other implementors, goes through to_json.Source§fn write_json_split(
&self,
members: &[MemberInfo],
out: &mut Vec<u8>,
) -> Result<Vec<(&'static str, String)>, Error>
fn write_json_split( &self, members: &[MemberInfo], out: &mut Vec<u8>, ) -> Result<Vec<(&'static str, String)>, Error>
Serializes into
out without the members members binds to
headers, returning those as (header, text); with a payload member,
out gets that member’s bytes, raw. The default goes through
to_json, as write_json’s does.