pub struct ConventionChange {
pub action: String,
pub id: String,
pub repo: Option<String>,
pub dimension: Option<String>,
pub rule: String,
}Expand description
POST /api/v1/conventions: add, edit, hide or restore.
Fields§
§action: String§id: String§repo: Option<String>§dimension: Option<String>§rule: StringTrait Implementations§
Source§impl Clone for ConventionChange
impl Clone for ConventionChange
Source§impl Debug for ConventionChange
impl Debug for ConventionChange
Source§impl<'de> Deserialize<'de> for ConventionChange
impl<'de> Deserialize<'de> for ConventionChange
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 Forget for ConventionChange
impl Freeze for ConventionChange
impl RefUnwindSafe for ConventionChange
impl Send for ConventionChange
impl Sync for ConventionChange
impl Unpin for ConventionChange
impl UnsafeUnpin for ConventionChange
impl UnwindSafe for ConventionChange
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