pub struct ConflictReport {
pub game: String,
pub installer: String,
pub conflicts: Vec<Conflict>,
}Expand description
The body of POST /report/conflict: packages the user selected wrote the
same file, and the later one won.
Carries nothing identifying, only the game, the installer’s version and catalogue data the server already has; the server stamps the time itself.
Fields§
§game: StringA GAME_* id, which the packages below belong to.
installer: StringE.g. "0.2.0".
conflicts: Vec<Conflict>Trait Implementations§
Source§impl Clone for ConflictReport
impl Clone for ConflictReport
Source§fn clone(&self) -> ConflictReport
fn clone(&self) -> ConflictReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConflictReport
impl Debug for ConflictReport
Source§impl<'de> Deserialize<'de> for ConflictReport
impl<'de> Deserialize<'de> for ConflictReport
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
impl Eq for ConflictReport
Source§impl PartialEq for ConflictReport
impl PartialEq for ConflictReport
Source§impl Serialize for ConflictReport
impl Serialize for ConflictReport
impl StructuralPartialEq for ConflictReport
Auto Trait Implementations§
impl Freeze for ConflictReport
impl RefUnwindSafe for ConflictReport
impl Send for ConflictReport
impl Sync for ConflictReport
impl Unpin for ConflictReport
impl UnsafeUnpin for ConflictReport
impl UnwindSafe for ConflictReport
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