pub struct SftpListJson {
pub ok: bool,
pub event: String,
pub vps: String,
pub path: String,
pub entries: Vec<SftpListEntryJson>,
}Expand description
sftp ls --json success stdout.
Fields§
§ok: boolAlways true.
event: StringDiscriminator: "sftp-list".
vps: StringVPS name.
path: StringDirectory path listed.
entries: Vec<SftpListEntryJson>Entries.
Trait Implementations§
Source§impl Clone for SftpListJson
impl Clone for SftpListJson
Source§fn clone(&self) -> SftpListJson
fn clone(&self) -> SftpListJson
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 SftpListJson
impl Debug for SftpListJson
Source§impl<'de> Deserialize<'de> for SftpListJson
impl<'de> Deserialize<'de> for SftpListJson
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 SftpListJson
Source§impl PartialEq for SftpListJson
impl PartialEq for SftpListJson
Source§impl Serialize for SftpListJson
impl Serialize for SftpListJson
impl StructuralPartialEq for SftpListJson
Auto Trait Implementations§
impl Freeze for SftpListJson
impl RefUnwindSafe for SftpListJson
impl Send for SftpListJson
impl Sync for SftpListJson
impl Unpin for SftpListJson
impl UnsafeUnpin for SftpListJson
impl UnwindSafe for SftpListJson
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.