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