pub struct InfoObject {
pub title: InfoObjectProperties,
pub description: Option<InfoObjectDescription>,
pub terms_of_service: Option<InfoObjectTermsOfService>,
pub version: InfoObjectVersion,
pub contact: Option<ContactObject>,
pub license: Option<LicenseObject>,
}
Fields§
§title: InfoObjectProperties
§description: Option<InfoObjectDescription>
§terms_of_service: Option<InfoObjectTermsOfService>
§version: InfoObjectVersion
§contact: Option<ContactObject>
§license: Option<LicenseObject>
Trait Implementations§
Source§impl Clone for InfoObject
impl Clone for InfoObject
Source§fn clone(&self) -> InfoObject
fn clone(&self) -> InfoObject
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for InfoObject
impl<'de> Deserialize<'de> for InfoObject
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 InfoObject
impl RefUnwindSafe for InfoObject
impl Send for InfoObject
impl Sync for InfoObject
impl Unpin for InfoObject
impl UnwindSafe for InfoObject
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