pub struct PbUserDeviceGeneralSettings {Show 15 fields
pub obsolete_time_selection: Option<i32>,
pub obsolete_time2_offset: Option<i32>,
pub watch_face: Option<i32>,
pub button_lock_mode: Option<i32>,
pub button_sound_volume: Option<PbVolume>,
pub vibration_mode: Option<bool>,
pub handedness: Option<i32>,
pub exeview_inverted: Option<bool>,
pub tap_button_sensitivity: Option<i32>,
pub inactivity_alert: Option<i32>,
pub ble_connect_mode_enable: Option<bool>,
pub backup_watch_face: Option<i32>,
pub flightmode: Option<i32>,
pub device_location: Option<i32>,
pub watch_face_color: Option<i32>,
}Fields§
§obsolete_time_selection: Option<i32>§obsolete_time2_offset: Option<i32>§watch_face: Option<i32>§vibration_mode: Option<bool>§handedness: Option<i32>§exeview_inverted: Option<bool>§inactivity_alert: Option<i32>§ble_connect_mode_enable: Option<bool>§backup_watch_face: Option<i32>§flightmode: Option<i32>§device_location: Option<i32>§watch_face_color: Option<i32>Implementations§
Source§impl PbUserDeviceGeneralSettings
impl PbUserDeviceGeneralSettings
pub fn obsolete_time_selection(&self) -> PbTimeSelection
pub fn set_obsolete_time_selection(&mut self, value: PbTimeSelection)
pub fn obsolete_time2_offset(&self) -> i32
pub fn watch_face(&self) -> PbWatchFace
pub fn set_watch_face(&mut self, value: PbWatchFace)
pub fn vibration_mode(&self) -> bool
pub fn handedness(&self) -> PbHandedness
pub fn set_handedness(&mut self, value: PbHandedness)
pub fn exeview_inverted(&self) -> bool
pub fn inactivity_alert(&self) -> PbInactivityAlert
pub fn set_inactivity_alert(&mut self, value: PbInactivityAlert)
pub fn ble_connect_mode_enable(&self) -> bool
pub fn backup_watch_face(&self) -> PbWatchFace
pub fn set_backup_watch_face(&mut self, value: PbWatchFace)
pub fn flightmode(&self) -> PbFlightMode
pub fn set_flightmode(&mut self, value: PbFlightMode)
pub fn device_location(&self) -> PbDeviceLocation
pub fn set_device_location(&mut self, value: PbDeviceLocation)
pub fn watch_face_color(&self) -> i32
Trait Implementations§
Source§impl Clone for PbUserDeviceGeneralSettings
impl Clone for PbUserDeviceGeneralSettings
Source§fn clone(&self) -> PbUserDeviceGeneralSettings
fn clone(&self) -> PbUserDeviceGeneralSettings
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 moreSource§impl Debug for PbUserDeviceGeneralSettings
impl Debug for PbUserDeviceGeneralSettings
Source§impl Default for PbUserDeviceGeneralSettings
impl Default for PbUserDeviceGeneralSettings
Source§fn default() -> PbUserDeviceGeneralSettings
fn default() -> PbUserDeviceGeneralSettings
Returns the “default value” for a type. Read more
Source§impl Message for PbUserDeviceGeneralSettings
impl Message for PbUserDeviceGeneralSettings
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.impl StructuralPartialEq for PbUserDeviceGeneralSettings
Auto Trait Implementations§
impl Freeze for PbUserDeviceGeneralSettings
impl RefUnwindSafe for PbUserDeviceGeneralSettings
impl Send for PbUserDeviceGeneralSettings
impl Sync for PbUserDeviceGeneralSettings
impl Unpin for PbUserDeviceGeneralSettings
impl UnwindSafe for PbUserDeviceGeneralSettings
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