pub struct P2Source {
pub stype: Option<String>,
pub url: Option<String>,
pub reference: Option<String>,
}Fields§
§stype: Option<String>§url: Option<String>§reference: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for P2Source
impl<'de> Deserialize<'de> for P2Source
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 P2Source
impl RefUnwindSafe for P2Source
impl Send for P2Source
impl Sync for P2Source
impl Unpin for P2Source
impl UnsafeUnpin for P2Source
impl UnwindSafe for P2Source
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