pub struct ReadPathRequest {
pub project_id: String,
pub root: Option<ReadPathRequestRoot>,
pub path: String,
pub entry_limit: u32,
pub offset_bytes: u64,
pub length_bytes: u32,
pub entry_page_token: String,
}Expand description
What Client::read_path takes.
Fields§
§project_id: String§root: Option<ReadPathRequestRoot>Where the path is. Neither = the project’s deployed files, read-only: "/compose.yaml", "/.env", its sources.
path: StringFrom the root, e.g. "/compose.yaml", "/data/uploads". Empty = "/": the root’s entries.
entry_limit: u320 = 200. Also ends at ~64 KiB.
offset_bytes: u64File offset.
length_bytes: u32≤1 MiB; 0 = 64 KiB.
entry_page_token: StringThe previous next_entry_page_token, other fields unchanged.
Trait Implementations§
Source§impl Clone for ReadPathRequest
impl Clone for ReadPathRequest
Source§impl Debug for ReadPathRequest
impl Debug for ReadPathRequest
Source§impl Default for ReadPathRequest
impl Default for ReadPathRequest
Source§impl<'de> Deserialize<'de> for ReadPathRequest
From the API’s JSON. A field this version does not know is refused, as the API
refuses one it does not have.
impl<'de> Deserialize<'de> for ReadPathRequest
From the API’s JSON. A field this version does not know is refused, as the API refuses one it does not have.
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ReadPathRequest
impl PartialEq for ReadPathRequest
Source§impl Serialize for ReadPathRequest
As the API’s JSON: the proto’s field names, an enum as its value’s name, a 64-bit
integer as a string, a time as RFC 3339, bytes as base64.
impl Serialize for ReadPathRequest
As the API’s JSON: the proto’s field names, an enum as its value’s name, a 64-bit integer as a string, a time as RFC 3339, bytes as base64.
impl StructuralPartialEq for ReadPathRequest
Auto Trait Implementations§
impl Freeze for ReadPathRequest
impl RefUnwindSafe for ReadPathRequest
impl Send for ReadPathRequest
impl Sync for ReadPathRequest
impl Unpin for ReadPathRequest
impl UnsafeUnpin for ReadPathRequest
impl UnwindSafe for ReadPathRequest
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