pub struct PicsDocument {
pub vendor_name: String,
pub product_name: String,
pub product_model_number: String,
pub firmware_revision: String,
pub protocol_version: u8,
pub protocol_revision: u16,
pub max_apdu_length: u16,
pub segmentation_supported: SegmentationSupport,
pub services: Vec<SupportedService>,
pub object_types: Vec<SupportedObjectType>,
}Expand description
A PICS document describing device capabilities.
Can be rendered as human-readable text (Annex A format) or structured JSON.
Fields§
§vendor_name: String§product_name: String§product_model_number: String§firmware_revision: String§protocol_version: u8§protocol_revision: u16§max_apdu_length: u16§segmentation_supported: SegmentationSupport§services: Vec<SupportedService>§object_types: Vec<SupportedObjectType>Implementations§
Trait Implementations§
Source§impl Clone for PicsDocument
impl Clone for PicsDocument
Source§fn clone(&self) -> PicsDocument
fn clone(&self) -> PicsDocument
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 moreAuto Trait Implementations§
impl Freeze for PicsDocument
impl RefUnwindSafe for PicsDocument
impl Send for PicsDocument
impl Sync for PicsDocument
impl Unpin for PicsDocument
impl UnsafeUnpin for PicsDocument
impl UnwindSafe for PicsDocument
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