pub struct FetchedCatalog {
pub name: String,
pub filename: String,
pub content: String,
}Expand description
One fetched catalogue’s bytes, returned over the wire so the client writes them into its own config dir (keeping the write in the caller’s permission scope).
Fields§
§name: String§filename: StringOutput filename (e.g. cli.ftl).
content: StringThe FTL file contents.
Trait Implementations§
Source§impl Clone for FetchedCatalog
impl Clone for FetchedCatalog
Source§fn clone(&self) -> FetchedCatalog
fn clone(&self) -> FetchedCatalog
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 FetchedCatalog
impl Debug for FetchedCatalog
Source§impl<'de> Deserialize<'de> for FetchedCatalog
impl<'de> Deserialize<'de> for FetchedCatalog
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 FetchedCatalog
impl RefUnwindSafe for FetchedCatalog
impl Send for FetchedCatalog
impl Sync for FetchedCatalog
impl Unpin for FetchedCatalog
impl UnsafeUnpin for FetchedCatalog
impl UnwindSafe for FetchedCatalog
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