pub struct RevertState {
pub diff: Option<String>,
pub files: Option<Vec<FileDiff>>,
pub message_id: String,
pub part_id: Option<String>,
pub snapshot: Option<String>,
}Fields§
§diff: Option<String>§files: Option<Vec<FileDiff>>§message_id: String§part_id: Option<String>§snapshot: Option<String>Trait Implementations§
Source§impl Clone for RevertState
impl Clone for RevertState
Source§fn clone(&self) -> RevertState
fn clone(&self) -> RevertState
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 RevertState
impl Debug for RevertState
Source§impl<'de> Deserialize<'de> for RevertState
impl<'de> Deserialize<'de> for RevertState
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 PartialEq for RevertState
impl PartialEq for RevertState
Source§impl Serialize for RevertState
impl Serialize for RevertState
impl StructuralPartialEq for RevertState
Auto Trait Implementations§
impl Freeze for RevertState
impl RefUnwindSafe for RevertState
impl Send for RevertState
impl Sync for RevertState
impl Unpin for RevertState
impl UnsafeUnpin for RevertState
impl UnwindSafe for RevertState
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