pub struct RepositoryRuleViolationError {
pub message: Option<String>,
pub documentation_url: Option<String>,
pub status: Option<String>,
pub metadata: Option<RepositoryruleviolationerrorMetadata>,
}Expand description
Repository rule violation was detected
Fields§
§message: Option<String>§documentation_url: Option<String>§status: Option<String>§metadata: Option<RepositoryruleviolationerrorMetadata>Trait Implementations§
Source§impl Clone for RepositoryRuleViolationError
impl Clone for RepositoryRuleViolationError
Source§fn clone(&self) -> RepositoryRuleViolationError
fn clone(&self) -> RepositoryRuleViolationError
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 RepositoryRuleViolationError
impl Debug for RepositoryRuleViolationError
Source§impl Default for RepositoryRuleViolationError
impl Default for RepositoryRuleViolationError
Source§fn default() -> RepositoryRuleViolationError
fn default() -> RepositoryRuleViolationError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepositoryRuleViolationError
impl<'de> Deserialize<'de> for RepositoryRuleViolationError
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 From<RepositoryRuleViolationError> for PostGitCreateBlobResponse422
impl From<RepositoryRuleViolationError> for PostGitCreateBlobResponse422
Source§fn from(value: RepositoryRuleViolationError) -> Self
fn from(value: RepositoryRuleViolationError) -> Self
Converts to this type from the input type.
Source§impl From<RepositoryRuleViolationError> for PutReposCreateOrUpdateFileContentsResponse409
impl From<RepositoryRuleViolationError> for PutReposCreateOrUpdateFileContentsResponse409
Source§fn from(value: RepositoryRuleViolationError) -> Self
fn from(value: RepositoryRuleViolationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RepositoryRuleViolationError
impl PartialEq for RepositoryRuleViolationError
Source§fn eq(&self, other: &RepositoryRuleViolationError) -> bool
fn eq(&self, other: &RepositoryRuleViolationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RepositoryRuleViolationError
Auto Trait Implementations§
impl Freeze for RepositoryRuleViolationError
impl RefUnwindSafe for RepositoryRuleViolationError
impl Send for RepositoryRuleViolationError
impl Sync for RepositoryRuleViolationError
impl Unpin for RepositoryRuleViolationError
impl UnwindSafe for RepositoryRuleViolationError
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