[][src]Struct ommui_data::samplic::client::Device

pub struct Device { /* fields omitted */ }

Methods

impl Device[src]

pub fn units_url(&self) -> String[src]

pub fn unit_url(&self, unit_id: &str) -> String[src]

pub fn translations_url(&self) -> String[src]

pub fn translation_url(&self, translation_id: &str) -> String[src]

pub fn samples_url(&self) -> String[src]

pub fn sample_url(&self, sample_id: Uuid) -> String[src]

pub fn sample_metadata_url(&self, sample_id: Uuid) -> String[src]

pub fn measurements_url(&self, sample_id: Uuid) -> String[src]

pub fn measurement_url(
    &self,
    sample_id: Uuid,
    measurement_index: usize
) -> String
[src]

pub fn measurement_metadata_url(
    &self,
    sample_id: Uuid,
    measurement_index: usize
) -> String
[src]

pub fn curves_url(&self, sample_id: Uuid, measurement_index: usize) -> String[src]

pub fn curve_url(
    &self,
    sample_id: Uuid,
    measurement_index: usize,
    curve_id: &str
) -> String
[src]

pub fn results_url(&self, sample_id: Uuid, measurement_index: usize) -> String[src]

pub fn description_url(&self) -> String[src]

pub fn samplings_url(&self) -> String[src]

pub fn sampling_url(&self, sampling_id: &str) -> String[src]

pub fn device_description_url(&self) -> String[src]

pub fn system_profiles_url(&self) -> String[src]

pub fn system_profile_url(&self, profile_id: Uuid) -> String[src]

pub fn user_profiles_url(&self) -> String[src]

pub fn user_profile_url(&self, profile_id: Uuid) -> String[src]

pub fn images_url(&self) -> String[src]

pub fn icons_url(&self) -> String[src]

pub fn icon_url(&self, icon_id: &str) -> String[src]

pub fn icon_svg_url(&self, icon_id: &str) -> String[src]

impl Device[src]

pub fn new(api_url: &str) -> Self[src]

Trait Implementations

impl LoadableDevice for Device[src]

fn load_profile_index(&self) -> Result<IndexSet<Uuid>>[src]

fn load_profile(&self, profile_id: Uuid) -> Result<ProfileDescription>[src]

fn load_units(&self) -> Result<IndexMap<String, UnitDescription>>[src]

fn load_translations(
    &self
) -> Result<IndexMap<String, IndexMap<String, String>>>
[src]

fn load_curves(
    &self,
    sample_id: Uuid,
    measurement_index: usize
) -> Result<IndexMap<String, Curve>>
[src]

fn load_measurement(&self, sample_id: Uuid, index: usize) -> Result<Measurement>[src]

fn load_measurements(
    &self,
    sample_id: Uuid
) -> Result<IndexMap<usize, Measurement>>
[src]

fn load_sample(&self, sample_id: Uuid) -> Result<Sample>[src]

fn load_samples(&self) -> Result<IndexMap<Uuid, Sample>>[src]

fn load_system_profiles(&self) -> Result<IndexMap<Uuid, ProfileDescription>>[src]

fn load_user_profiles(&self) -> Result<IndexMap<Uuid, ProfileDescription>>[src]

fn load_samplings(&self) -> Result<IndexMap<String, Sampling>>[src]

fn load_description(&self) -> Result<Description>[src]

fn load_icons(&self) -> Result<IndexMap<String, String>>[src]

impl Clone for Device[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Sync for Device

impl Send for Device

impl Unpin for Device

impl RefUnwindSafe for Device

impl UnwindSafe for Device

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err