pub struct Service {Show 13 fields
pub bom_ref: Option<String>,
pub provider: Option<OrganizationalEntity>,
pub group: Option<String>,
pub name: String,
pub version: Option<String>,
pub description: Option<String>,
pub endpoints: Option<Endpoints>,
pub authenticated: Option<bool>,
pub x_trust_boundary: Option<bool>,
pub data: Option<Classifications>,
pub licenses: Option<Licenses>,
pub external_references: Option<ExternalReferences>,
pub services: Vec<Service>,
}
Fields§
§bom_ref: Option<String>
§provider: Option<OrganizationalEntity>
§group: Option<String>
§name: String
§version: Option<String>
§description: Option<String>
§endpoints: Option<Endpoints>
§authenticated: Option<bool>
§x_trust_boundary: Option<bool>
§data: Option<Classifications>
§licenses: Option<Licenses>
§external_references: Option<ExternalReferences>
§services: Vec<Service>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Service
impl<'de> Deserialize<'de> for Service
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 YaDeserialize for Service
impl YaDeserialize for Service
fn deserialize<R: Read>(reader: &mut Deserializer<R>) -> Result<Self, String>
Source§impl YaSerialize for Service
impl YaSerialize for Service
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace, ) -> Result<(Vec<OwnedAttribute>, Namespace), String>
impl StructuralPartialEq for Service
Auto Trait Implementations§
impl Freeze for Service
impl RefUnwindSafe for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnwindSafe for Service
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