pub struct ResourceSpecification<'a> {
pub property_types: PropertyTypeMap<'a>,
pub resource_specification_version: ResourceSpecificationVersion<'a>,
pub resource_types: ResourceTypeMap<'a>,
/* private fields */
}Fields§
§property_types: PropertyTypeMap<'a>§resource_specification_version: ResourceSpecificationVersion<'a>§resource_types: ResourceTypeMap<'a>Implementations§
Source§impl<'a> ResourceSpecification<'a>
impl<'a> ResourceSpecification<'a>
pub fn feature_names(&self) -> impl Iterator<Item = &FeatureName>
pub fn feature_name(&self, service: &ServiceIdentifier<'a>) -> &FeatureName
pub fn services_with_feature_names( &self, ) -> impl Iterator<Item = (&ServiceIdentifier<'a>, &FeatureName)>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ResourceSpecification<'a>
impl<'a> RefUnwindSafe for ResourceSpecification<'a>
impl<'a> Send for ResourceSpecification<'a>
impl<'a> Sync for ResourceSpecification<'a>
impl<'a> Unpin for ResourceSpecification<'a>
impl<'a> UnsafeUnpin for ResourceSpecification<'a>
impl<'a> UnwindSafe for ResourceSpecification<'a>
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