pub struct ContentParams {
pub path: PathBuf,
pub content: String,
}Expand description
Parameters naming a path and the text to put there.
Fields§
§path: PathBufWorkspace-relative path.
content: StringThe text.
Trait Implementations§
Source§impl Clone for ContentParams
impl Clone for ContentParams
Source§impl Debug for ContentParams
impl Debug for ContentParams
Source§impl<'de> Deserialize<'de> for ContentParams
impl<'de> Deserialize<'de> for ContentParams
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 Forget for ContentParams
impl Freeze for ContentParams
impl Move for ContentParams
impl RefUnwindSafe for ContentParams
impl Send for ContentParams
impl Sync for ContentParams
impl Unpin for ContentParams
impl UnsafeUnpin for ContentParams
impl UnwindSafe for ContentParams
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