pub struct FsReadV1 {
pub path: String,
pub max_bytes: Option<u64>,
pub follow_symlinks: Option<bool>,
}Expand description
Parameters for fs.read.v1 capability
Fields§
§path: StringFile path to read
max_bytes: Option<u64>Maximum bytes to read (optional)
follow_symlinks: Option<bool>Whether to follow symlinks
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FsReadV1
impl<'de> Deserialize<'de> for FsReadV1
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 FsReadV1
impl RefUnwindSafe for FsReadV1
impl Send for FsReadV1
impl Sync for FsReadV1
impl Unpin for FsReadV1
impl UnwindSafe for FsReadV1
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