pub struct RepairRollbackFileEntry { /* private fields */ }Implementations§
Source§impl RepairRollbackFileEntry
impl RepairRollbackFileEntry
pub fn missing(relative_path: String) -> Result<Self, RepairContractError>
pub fn directory(relative_path: String) -> Result<Self, RepairContractError>
pub fn file( relative_path: String, content: Vec<u8>, ) -> Result<Self, RepairContractError>
pub fn relative_path(&self) -> &str
pub const fn kind(&self) -> RepairRollbackFileKind
pub fn content_hex(&self) -> &str
Trait Implementations§
Source§impl Clone for RepairRollbackFileEntry
impl Clone for RepairRollbackFileEntry
Source§fn clone(&self) -> RepairRollbackFileEntry
fn clone(&self) -> RepairRollbackFileEntry
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 RepairRollbackFileEntry
impl Debug for RepairRollbackFileEntry
Source§impl<'de> Deserialize<'de> for RepairRollbackFileEntry
impl<'de> Deserialize<'de> for RepairRollbackFileEntry
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 RepairRollbackFileEntry
Source§impl Ord for RepairRollbackFileEntry
impl Ord for RepairRollbackFileEntry
Source§fn cmp(&self, other: &RepairRollbackFileEntry) -> Ordering
fn cmp(&self, other: &RepairRollbackFileEntry) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RepairRollbackFileEntry
impl PartialEq for RepairRollbackFileEntry
Source§impl PartialOrd for RepairRollbackFileEntry
impl PartialOrd for RepairRollbackFileEntry
Source§impl Serialize for RepairRollbackFileEntry
impl Serialize for RepairRollbackFileEntry
impl StructuralPartialEq for RepairRollbackFileEntry
Auto Trait Implementations§
impl Freeze for RepairRollbackFileEntry
impl RefUnwindSafe for RepairRollbackFileEntry
impl Send for RepairRollbackFileEntry
impl Sync for RepairRollbackFileEntry
impl Unpin for RepairRollbackFileEntry
impl UnsafeUnpin for RepairRollbackFileEntry
impl UnwindSafe for RepairRollbackFileEntry
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