pub struct ApiPushLimitSettings {
pub allow_single_push_number: Option<i64>,
pub push_commit_must_be: Option<String>,
pub only_master_can_push_tag: Option<bool>,
pub check_single_push_number: Option<bool>,
}
Expand description
ApiPushLimitSettings 模型
Fields§
§allow_single_push_number: Option<i64>
§push_commit_must_be: Option<String>
§only_master_can_push_tag: Option<bool>
§check_single_push_number: Option<bool>
Trait Implementations§
Source§impl Clone for ApiPushLimitSettings
impl Clone for ApiPushLimitSettings
Source§fn clone(&self) -> ApiPushLimitSettings
fn clone(&self) -> ApiPushLimitSettings
Returns a duplicate 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 ApiPushLimitSettings
impl Debug for ApiPushLimitSettings
Source§impl<'de> Deserialize<'de> for ApiPushLimitSettings
impl<'de> Deserialize<'de> for ApiPushLimitSettings
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
Auto Trait Implementations§
impl Freeze for ApiPushLimitSettings
impl RefUnwindSafe for ApiPushLimitSettings
impl Send for ApiPushLimitSettings
impl Sync for ApiPushLimitSettings
impl Unpin for ApiPushLimitSettings
impl UnwindSafe for ApiPushLimitSettings
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