pub struct FindFilesPage {
pub file_matches: Vec<FileSummary>,
pub total: usize,
pub files: usize,
pub next: Option<usize>,
}Expand description
One page of matching files.
Fields§
§file_matches: Vec<FileSummary>Matching files on this page.
total: usizeMatches across every file, including files outside this page.
files: usizeFiles with at least one match, including files outside this page.
next: Option<usize>Offset of the next file page, when there is one.
Trait Implementations§
Source§impl Clone for FindFilesPage
impl Clone for FindFilesPage
Source§impl Debug for FindFilesPage
impl Debug for FindFilesPage
Source§impl Default for FindFilesPage
impl Default for FindFilesPage
Source§impl<'de> Deserialize<'de> for FindFilesPage
impl<'de> Deserialize<'de> for FindFilesPage
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
impl Eq for FindFilesPage
Source§impl JsonSchema for FindFilesPage
impl JsonSchema for FindFilesPage
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for FindFilesPage
impl PartialEq for FindFilesPage
Source§impl Serialize for FindFilesPage
impl Serialize for FindFilesPage
impl StructuralPartialEq for FindFilesPage
Auto Trait Implementations§
impl Freeze for FindFilesPage
impl RefUnwindSafe for FindFilesPage
impl Send for FindFilesPage
impl Sync for FindFilesPage
impl Unpin for FindFilesPage
impl UnsafeUnpin for FindFilesPage
impl UnwindSafe for FindFilesPage
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