pub struct RelatedSubject {
pub name: String,
pub url: Option<String>,
}Expand description
A subject that is thematically related to the requested subject.
Returned when details=true is requested.
Fields§
§name: String§url: Option<String>Trait Implementations§
Source§impl Clone for RelatedSubject
impl Clone for RelatedSubject
Source§fn clone(&self) -> RelatedSubject
fn clone(&self) -> RelatedSubject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RelatedSubject
impl Debug for RelatedSubject
Source§impl<'de> Deserialize<'de> for RelatedSubject
impl<'de> Deserialize<'de> for RelatedSubject
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 RelatedSubject
impl RefUnwindSafe for RelatedSubject
impl Send for RelatedSubject
impl Sync for RelatedSubject
impl Unpin for RelatedSubject
impl UnsafeUnpin for RelatedSubject
impl UnwindSafe for RelatedSubject
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