pub struct RestoreApplyCommandOutput {
pub text: String,
pub truncated: bool,
pub original_bytes: usize,
}Expand description
RestoreApplyCommandOutput
Fields§
§text: String§truncated: bool§original_bytes: usizeImplementations§
Source§impl RestoreApplyCommandOutput
impl RestoreApplyCommandOutput
Sourcepub fn from_bytes(bytes: &[u8], limit: usize) -> Self
pub fn from_bytes(bytes: &[u8], limit: usize) -> Self
Build a bounded UTF-8-ish command output payload for durable receipts.
Trait Implementations§
Source§impl Clone for RestoreApplyCommandOutput
impl Clone for RestoreApplyCommandOutput
Source§fn clone(&self) -> RestoreApplyCommandOutput
fn clone(&self) -> RestoreApplyCommandOutput
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 RestoreApplyCommandOutput
impl Debug for RestoreApplyCommandOutput
Source§impl<'de> Deserialize<'de> for RestoreApplyCommandOutput
impl<'de> Deserialize<'de> for RestoreApplyCommandOutput
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 RestoreApplyCommandOutput
impl PartialEq for RestoreApplyCommandOutput
Source§fn eq(&self, other: &RestoreApplyCommandOutput) -> bool
fn eq(&self, other: &RestoreApplyCommandOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RestoreApplyCommandOutput
impl StructuralPartialEq for RestoreApplyCommandOutput
Auto Trait Implementations§
impl Freeze for RestoreApplyCommandOutput
impl RefUnwindSafe for RestoreApplyCommandOutput
impl Send for RestoreApplyCommandOutput
impl Sync for RestoreApplyCommandOutput
impl Unpin for RestoreApplyCommandOutput
impl UnsafeUnpin for RestoreApplyCommandOutput
impl UnwindSafe for RestoreApplyCommandOutput
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