[−][src]Struct fwupd_dbus::Remote
Information about an available fwupd remote.
Fields
agreement: Option<Box<str>>
approval_required: bool
checksum: Option<Box<str>>
enabled: bool
filename_cache: Box<str>
filename_source: Box<str>
firmware_base_uri: Option<Box<str>>
keyring: KeyringKind
kind: RemoteKind
modification_time: u64
password: Option<Box<str>>
priority: i16
remote_id: RemoteId
report_uri: Option<Box<str>>
title: Box<str>
uri: Option<Box<str>>
username: Option<Box<str>>
Methods
impl Remote
[src]
pub fn update_metadata(
&self,
client: &Client,
http_client: &Client
) -> Result<(), UpdateError>
[src]
&self,
client: &Client,
http_client: &Client
) -> Result<(), UpdateError>
Updates the metadata for this remote.
pub fn time_since_last_update(&self) -> Option<Duration>
[src]
Fetch the time since the last update, if such a time can be fetched.
Trait Implementations
impl AsRef<RemoteId> for Remote
[src]
impl Clone for Remote
[src]
impl Debug for Remote
[src]
impl Default for Remote
[src]
impl FromIterator<(String, Variant<Box<dyn RefArg + 'static>>)> for Remote
[src]
fn from_iter<T>(iter: T) -> Self where
T: IntoIterator<Item = DBusEntry>,
[src]
T: IntoIterator<Item = DBusEntry>,
Auto Trait Implementations
impl RefUnwindSafe for Remote
impl Send for Remote
impl Sync for Remote
impl Unpin for Remote
impl UnwindSafe for Remote
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,