pub struct NoConfig { /* private fields */ }Expand description
The NoConfig struct is used when no configuration is found and it can be used for CI/CD scenarios where no configuration is needed or for other one-off scenarios.
Implementations§
Trait Implementations§
Source§impl ConfigProperties for NoConfig
impl ConfigProperties for NoConfig
fn api_token(&self) -> &str
fn cache_location(&self) -> Option<&str>
fn preferred_assignee_username(&self) -> Option<Member>
fn merge_request_members(&self) -> Vec<Member>
fn merge_request_description_signature(&self) -> &str
fn get_cache_expiration(&self, _api_operation: &ApiOperation) -> &str
fn get_max_pages(&self, _api_operation: &ApiOperation) -> u32
fn rate_limit_remaining_threshold(&self) -> u32
Auto Trait Implementations§
impl Freeze for NoConfig
impl RefUnwindSafe for NoConfig
impl Send for NoConfig
impl Sync for NoConfig
impl Unpin for NoConfig
impl UnwindSafe for NoConfig
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