Struct forgejo_api::structs::GetTreeQuery
source · pub struct GetTreeQuery {
pub recursive: Option<bool>,
pub page: Option<u32>,
pub per_page: Option<u32>,
}Fields§
§recursive: Option<bool>show all directories and files
page: Option<u32>page number; the ‘truncated’ field in the response will be true if there are still more items after this page, false if the last page
per_page: Option<u32>number of items per page
Trait Implementations§
source§impl Clone for GetTreeQuery
impl Clone for GetTreeQuery
source§fn clone(&self) -> GetTreeQuery
fn clone(&self) -> GetTreeQuery
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 GetTreeQuery
impl Debug for GetTreeQuery
source§impl Default for GetTreeQuery
impl Default for GetTreeQuery
source§fn default() -> GetTreeQuery
fn default() -> GetTreeQuery
Returns the “default value” for a type. Read more
source§impl Display for GetTreeQuery
impl Display for GetTreeQuery
source§impl PartialEq for GetTreeQuery
impl PartialEq for GetTreeQuery
impl StructuralPartialEq for GetTreeQuery
Auto Trait Implementations§
impl Freeze for GetTreeQuery
impl RefUnwindSafe for GetTreeQuery
impl Send for GetTreeQuery
impl Sync for GetTreeQuery
impl Unpin for GetTreeQuery
impl UnwindSafe for GetTreeQuery
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)