pub struct InfoObject {
pub title: String,
pub description: Option<String>,
pub version: String,
pub contact: Option<ContactObject>,
pub license: Option<LicenseObject>,
}Fields§
§title: String§description: Option<String>§version: String§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 Debug for InfoObject
impl Debug for InfoObject
Source§impl Default for InfoObject
impl Default for InfoObject
Source§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 UnsafeUnpin 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