pub struct Characteristic {
pub characteristic_type: String,
pub characteristic_parameters: Vec<Parameter>,
pub child_characteristics: Vec<Characteristic>,
}
Fields§
§characteristic_type: String
§characteristic_parameters: Vec<Parameter>
§child_characteristics: Vec<Characteristic>
Implementations§
Source§impl Characteristic
impl Characteristic
pub fn get_child_characteristic(&self, name: &str) -> Option<&Characteristic>
pub fn get_parameter(&self, name: &str) -> Option<&str>
pub fn get_runtime_characteristics(&self) -> RuntimeCharacteristics<'_> ⓘ
pub fn to_string(&self) -> Result<String, ()>
pub fn to_c_string(&self) -> Result<CString, ()>
Trait Implementations§
Source§impl Clone for Characteristic
impl Clone for Characteristic
Auto Trait Implementations§
impl Freeze for Characteristic
impl RefUnwindSafe for Characteristic
impl Send for Characteristic
impl Sync for Characteristic
impl Unpin for Characteristic
impl UnwindSafe for Characteristic
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