pub struct ServiceData {
pub service: String,
pub status: ServiceStatus,
pub home_dir: PathBuf,
pub data_paths: Vec<PathBuf>,
pub volumes: Vec<VolumeRef>,
}Fields§
§service: String§status: ServiceStatus§home_dir: PathBuf~/.local/share/services/<service>/ — may not exist if only volumes remain.
data_paths: Vec<PathBuf>Top-level children of home_dir classified as data (not ephemeral).
volumes: Vec<VolumeRef>Trait Implementations§
Source§impl Clone for ServiceData
impl Clone for ServiceData
Source§fn clone(&self) -> ServiceData
fn clone(&self) -> ServiceData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ServiceData
impl RefUnwindSafe for ServiceData
impl Send for ServiceData
impl Sync for ServiceData
impl Unpin for ServiceData
impl UnsafeUnpin for ServiceData
impl UnwindSafe for ServiceData
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