pub struct Pics {
pub vendor_info: VendorInfo,
pub device_profile: DeviceProfile,
pub supported_object_types: Vec<ObjectTypeSupport>,
pub supported_services: Vec<ServiceSupport>,
pub data_link_layers: Vec<DataLinkSupport>,
pub network_layer: NetworkLayerSupport,
pub character_sets: Vec<CharacterSet>,
pub special_functionality: Vec<String>,
}Expand description
Complete PICS document per ASHRAE 135-2020 Annex A.
Fields§
§vendor_info: VendorInfoVendor and device identification.
device_profile: DeviceProfileDevice profile claimed.
supported_object_types: Vec<ObjectTypeSupport>Object types present in the database with their creation, deletion and property support.
supported_services: Vec<ServiceSupport>Services the server can initiate or execute.
data_link_layers: Vec<DataLinkSupport>Data-link layers the device supports.
network_layer: NetworkLayerSupportNetwork-layer roles the device fills.
character_sets: Vec<CharacterSet>Character sets the device supports.
special_functionality: Vec<String>Free-text descriptions of special functionality.
Implementations§
Source§impl Pics
impl Pics
Sourcepub fn generate_text(&self) -> String
pub fn generate_text(&self) -> String
Render the PICS as human-readable text per Annex A layout.
Sourcepub fn generate_markdown(&self) -> String
pub fn generate_markdown(&self) -> String
Render the PICS as Markdown for documentation.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pics
impl RefUnwindSafe for Pics
impl Send for Pics
impl Sync for Pics
impl Unpin for Pics
impl UnsafeUnpin for Pics
impl UnwindSafe for Pics
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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