pub struct Go {
pub module_name: String,
pub package_name: String,
}Fields§
§module_name: String§package_name: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Go
impl<'de> Deserialize<'de> for Go
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 Go
impl Freeze for Go
impl Move for Go
impl RefUnwindSafe for Go
impl Send for Gowhere
RawVecInner: Send,
impl Sync for Gowhere
RawVecInner: Sync,
impl Unpin for Go
impl UnsafeUnpin for Go
impl UnwindSafe for Gowhere
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.