pub struct FilesState {
pub path: String,
pub view: FilesView,
}Expand description
The folder and view a Files window is on. The controller sets it; every seat follows.
Fields§
§path: String§view: FilesViewImplementations§
Source§impl FilesState
impl FilesState
pub fn from_json(json: &Value) -> FilesState
Trait Implementations§
Source§impl Clone for FilesState
impl Clone for FilesState
Source§impl Debug for FilesState
impl Debug for FilesState
Source§impl<'de> Deserialize<'de> for FilesState
impl<'de> Deserialize<'de> for FilesState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FilesState
Source§impl PartialEq for FilesState
impl PartialEq for FilesState
Source§impl Serialize for FilesState
impl Serialize for FilesState
impl StructuralPartialEq for FilesState
Auto Trait Implementations§
impl Forget for FilesState
impl Freeze for FilesState
impl Move for FilesState
impl RefUnwindSafe for FilesState
impl Send for FilesState
impl Sync for FilesState
impl Unpin for FilesState
impl UnsafeUnpin for FilesState
impl UnwindSafe for FilesState
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.