Struct bundlrs::db::AtomicPasteFSFile
source · pub struct AtomicPasteFSFile {
pub path: String,
pub content: String,
}
Expand description
A structure representing a single text file
Fields§
§path: String
§content: String
Trait Implementations§
source§impl Clone for AtomicPasteFSFile
impl Clone for AtomicPasteFSFile
source§fn clone(&self) -> AtomicPasteFSFile
fn clone(&self) -> AtomicPasteFSFile
Returns a copy 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 AtomicPasteFSFile
impl Debug for AtomicPasteFSFile
source§impl Default for AtomicPasteFSFile
impl Default for AtomicPasteFSFile
source§fn default() -> AtomicPasteFSFile
fn default() -> AtomicPasteFSFile
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AtomicPasteFSFile
impl<'de> Deserialize<'de> for AtomicPasteFSFile
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
source§impl PartialEq for AtomicPasteFSFile
impl PartialEq for AtomicPasteFSFile
source§fn eq(&self, other: &AtomicPasteFSFile) -> bool
fn eq(&self, other: &AtomicPasteFSFile) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AtomicPasteFSFile
impl Serialize for AtomicPasteFSFile
impl StructuralPartialEq for AtomicPasteFSFile
Auto Trait Implementations§
impl RefUnwindSafe for AtomicPasteFSFile
impl Send for AtomicPasteFSFile
impl Sync for AtomicPasteFSFile
impl Unpin for AtomicPasteFSFile
impl UnwindSafe for AtomicPasteFSFile
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