pub struct SftpTransferJson {
pub ok: bool,
pub event: String,
pub direction: String,
pub vps: String,
pub local: String,
pub remote: String,
pub bytes: u64,
pub duration_ms: u64,
pub recursive: bool,
}Expand description
sftp upload|download --json success stdout (G-SFTP-09).
Fields§
§ok: boolAlways true.
event: StringDiscriminator: "sftp-transfer".
direction: String"upload" or "download".
vps: StringVPS name.
local: StringLocal path.
remote: StringRemote path.
bytes: u64Bytes transferred.
duration_ms: u64Duration in milliseconds.
recursive: boolWhether the transfer was recursive.
Trait Implementations§
Source§impl Clone for SftpTransferJson
impl Clone for SftpTransferJson
Source§fn clone(&self) -> SftpTransferJson
fn clone(&self) -> SftpTransferJson
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 SftpTransferJson
impl Debug for SftpTransferJson
Source§impl<'de> Deserialize<'de> for SftpTransferJson
impl<'de> Deserialize<'de> for SftpTransferJson
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 SftpTransferJson
Source§impl PartialEq for SftpTransferJson
impl PartialEq for SftpTransferJson
Source§impl Serialize for SftpTransferJson
impl Serialize for SftpTransferJson
impl StructuralPartialEq for SftpTransferJson
Auto Trait Implementations§
impl Freeze for SftpTransferJson
impl RefUnwindSafe for SftpTransferJson
impl Send for SftpTransferJson
impl Sync for SftpTransferJson
impl Unpin for SftpTransferJson
impl UnsafeUnpin for SftpTransferJson
impl UnwindSafe for SftpTransferJson
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.