pub struct DbBackupRetentionSetting;Expand description
Database backup retention count setting
Trait Implementations§
Source§impl InputSettingKind for DbBackupRetentionSetting
impl InputSettingKind for DbBackupRetentionSetting
Source§fn submit_view_id(&self) -> ViewId
fn submit_view_id(&self) -> ViewId
The
ViewId used by this setting’s NamedInput and its submit event.Source§fn open_entry_id(&self) -> EntryId
fn open_entry_id(&self) -> EntryId
The
EntryId event that opens this setting’s input dialog when tapped.Source§fn input_label(&self) -> String
fn input_label(&self) -> String
Label shown inside the
NamedInput dialog.Source§fn input_max_chars(&self) -> usize
fn input_max_chars(&self) -> usize
Maximum number of characters the input accepts.
Source§fn current_text(&self, settings: &Settings) -> String
fn current_text(&self, settings: &Settings) -> String
The current value as a string to pre-populate the input field.
Source§impl SettingKind for DbBackupRetentionSetting
impl SettingKind for DbBackupRetentionSetting
Source§fn identity(&self) -> SettingIdentity
fn identity(&self) -> SettingIdentity
Unique identity used to route
SettingsEvent::UpdateValue to the
correct SettingValue view.Source§fn label(&self, _settings: &Settings) -> String
fn label(&self, _settings: &Settings) -> String
Human-readable label shown on the left side of the setting row. Read more
Source§fn fetch(&self, settings: &Settings) -> SettingData
fn fetch(&self, settings: &Settings) -> SettingData
Fetch the current display value and widget configuration from
settings.Source§fn as_input_kind(&self) -> Option<&dyn InputSettingKind>
fn as_input_kind(&self) -> Option<&dyn InputSettingKind>
Returns this setting as an
InputSettingKind if it supports text input. Read moreSource§fn handle(
&self,
_evt: &Event,
_settings: &mut Settings,
_bus: &mut Bus,
) -> (Option<String>, bool)
fn handle( &self, _evt: &Event, _settings: &mut Settings, _bus: &mut Bus, ) -> (Option<String>, bool)
Handle an incoming event that may apply a change to this setting. Read more
Source§fn file_chooser_entry_id(&self) -> Option<EntryId>
fn file_chooser_entry_id(&self) -> Option<EntryId>
Source§fn hold_event(&self, _rect: Rectangle) -> Option<Event>
fn hold_event(&self, _rect: Rectangle) -> Option<Event>
The event that should be emitted if the settings is held.
Whether a submenu should remain open after this setting handles a selection.
Auto Trait Implementations§
impl Freeze for DbBackupRetentionSetting
impl RefUnwindSafe for DbBackupRetentionSetting
impl Send for DbBackupRetentionSetting
impl Sync for DbBackupRetentionSetting
impl Unpin for DbBackupRetentionSetting
impl UnsafeUnpin for DbBackupRetentionSetting
impl UnwindSafe for DbBackupRetentionSetting
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSend for T
impl<T> DowncastSend for T
§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more