rust-integration-services 0.5.14

A modern, fast, and lightweight integration library written in Rust, designed for memory safety and stability.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::sftp::{sftp_auth_basic::SftpAuthBasic, sftp_auth_key::SftpAuthKey};

pub struct SftpAuthentication {
    pub basic: Option<SftpAuthBasic>,
    pub key: Option<SftpAuthKey>,
}

impl SftpAuthentication {
    pub fn new() -> Self {
        SftpAuthentication {
            basic: None,
            key: None,
        }
    }
}