Struct open_rpc_schema::document::InfoObject
source · 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 copy 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