pub struct GeneralApiSettings {
pub default_git_trees_per_page: Option<i64>,
pub default_max_blob_size: Option<i64>,
pub default_paging_num: Option<i64>,
pub max_response_items: Option<i64>,
}
Expand description
GeneralApiSettings : GeneralAPISettings contains global api settings exposed by it
Fields§
§default_git_trees_per_page: Option<i64>
§default_max_blob_size: Option<i64>
§default_paging_num: Option<i64>
§max_response_items: Option<i64>
Implementations§
Source§impl GeneralApiSettings
impl GeneralApiSettings
Sourcepub fn new() -> GeneralApiSettings
pub fn new() -> GeneralApiSettings
GeneralAPISettings contains global api settings exposed by it
Trait Implementations§
Source§impl Clone for GeneralApiSettings
impl Clone for GeneralApiSettings
Source§fn clone(&self) -> GeneralApiSettings
fn clone(&self) -> GeneralApiSettings
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 GeneralApiSettings
impl Debug for GeneralApiSettings
Source§impl Default for GeneralApiSettings
impl Default for GeneralApiSettings
Source§fn default() -> GeneralApiSettings
fn default() -> GeneralApiSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GeneralApiSettings
impl<'de> Deserialize<'de> for GeneralApiSettings
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
Source§impl PartialEq for GeneralApiSettings
impl PartialEq for GeneralApiSettings
Source§impl Serialize for GeneralApiSettings
impl Serialize for GeneralApiSettings
impl StructuralPartialEq for GeneralApiSettings
Auto Trait Implementations§
impl Freeze for GeneralApiSettings
impl RefUnwindSafe for GeneralApiSettings
impl Send for GeneralApiSettings
impl Sync for GeneralApiSettings
impl Unpin for GeneralApiSettings
impl UnwindSafe for GeneralApiSettings
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