pub struct ServiceFsEntry {
pub id: String,
pub name: String,
pub mime: ServiceFsMime,
pub children: Vec<ServiceFsEntry>,
pub content: String,
}Expand description
A single entry in the file system of Service.
Fields§
§id: StringFiles use a UUID since they’re generated on the client.
name: String§mime: ServiceFsMime§children: Vec<ServiceFsEntry>§content: StringTrait Implementations§
Source§impl Clone for ServiceFsEntry
impl Clone for ServiceFsEntry
Source§fn clone(&self) -> ServiceFsEntry
fn clone(&self) -> ServiceFsEntry
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 ServiceFsEntry
impl Debug for ServiceFsEntry
Source§impl<'de> Deserialize<'de> for ServiceFsEntry
impl<'de> Deserialize<'de> for ServiceFsEntry
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
Auto Trait Implementations§
impl Freeze for ServiceFsEntry
impl RefUnwindSafe for ServiceFsEntry
impl Send for ServiceFsEntry
impl Sync for ServiceFsEntry
impl Unpin for ServiceFsEntry
impl UnwindSafe for ServiceFsEntry
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