pub struct OpenapiV3InfoLicense {
pub name: String,
pub identifier: Option<String>,
pub url: Option<String>,
}
Fields§
§name: String
§identifier: Option<String>
§url: Option<String>
Implementations§
Source§impl OpenapiV3InfoLicense
impl OpenapiV3InfoLicense
pub fn new(name: String) -> OpenapiV3InfoLicense
Trait Implementations§
Source§impl Clone for OpenapiV3InfoLicense
impl Clone for OpenapiV3InfoLicense
Source§fn clone(&self) -> OpenapiV3InfoLicense
fn clone(&self) -> OpenapiV3InfoLicense
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 OpenapiV3InfoLicense
impl Debug for OpenapiV3InfoLicense
Source§impl Default for OpenapiV3InfoLicense
impl Default for OpenapiV3InfoLicense
Source§fn default() -> OpenapiV3InfoLicense
fn default() -> OpenapiV3InfoLicense
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OpenapiV3InfoLicense
impl<'de> Deserialize<'de> for OpenapiV3InfoLicense
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
Source§impl PartialEq for OpenapiV3InfoLicense
impl PartialEq for OpenapiV3InfoLicense
Source§impl Serialize for OpenapiV3InfoLicense
impl Serialize for OpenapiV3InfoLicense
impl StructuralPartialEq for OpenapiV3InfoLicense
Auto Trait Implementations§
impl Freeze for OpenapiV3InfoLicense
impl RefUnwindSafe for OpenapiV3InfoLicense
impl Send for OpenapiV3InfoLicense
impl Sync for OpenapiV3InfoLicense
impl Unpin for OpenapiV3InfoLicense
impl UnwindSafe for OpenapiV3InfoLicense
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