pub struct SftpImportTask { /* private fields */ }Implementations§
Source§impl SftpImportTask
impl SftpImportTask
pub fn new(host: impl Into<String>, username: impl Into<String>) -> Self
pub fn port(self, port: u16) -> Self
pub fn password(self, password: impl Into<String>) -> Self
pub fn private_key(self, private_key: impl Into<String>) -> Self
pub fn file(self, file: impl Into<String>) -> Self
pub fn path(self, path: impl Into<String>) -> Self
pub fn filename(self, filename: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for SftpImportTask
impl Clone for SftpImportTask
Source§fn clone(&self) -> SftpImportTask
fn clone(&self) -> SftpImportTask
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 SftpImportTask
impl Debug for SftpImportTask
Source§impl From<SftpImportTask> for TaskRequest
impl From<SftpImportTask> for TaskRequest
Source§fn from(value: SftpImportTask) -> Self
fn from(value: SftpImportTask) -> Self
Converts to this type from the input type.
Source§impl Serialize for SftpImportTask
impl Serialize for SftpImportTask
Source§impl TaskPayload for SftpImportTask
impl TaskPayload for SftpImportTask
Auto Trait Implementations§
impl Freeze for SftpImportTask
impl RefUnwindSafe for SftpImportTask
impl Send for SftpImportTask
impl Sync for SftpImportTask
impl Unpin for SftpImportTask
impl UnsafeUnpin for SftpImportTask
impl UnwindSafe for SftpImportTask
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