pub struct LoggingSftpAdditional {
pub password: Option<String>,
pub path: Option<String>,
pub public_key: Option<String>,
pub secret_key: Option<String>,
pub ssh_known_hosts: Option<String>,
pub user: Option<String>,
}
Fields§
§password: Option<String>
The password for the server. If both password
and secret_key
are passed, secret_key
will be used in preference.
path: Option<String>
The path to upload logs to.
public_key: Option<String>
A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
secret_key: Option<String>
The SSH private key for the server. If both password
and secret_key
are passed, secret_key
will be used in preference.
ssh_known_hosts: Option<String>
A list of host keys for all hosts we can connect to over SFTP.
user: Option<String>
The username for the server.
Implementations§
Source§impl LoggingSftpAdditional
impl LoggingSftpAdditional
pub fn new() -> LoggingSftpAdditional
Trait Implementations§
Source§impl Clone for LoggingSftpAdditional
impl Clone for LoggingSftpAdditional
Source§fn clone(&self) -> LoggingSftpAdditional
fn clone(&self) -> LoggingSftpAdditional
Returns a duplicate of the value. Read more
1.0.0 · 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 LoggingSftpAdditional
impl Debug for LoggingSftpAdditional
Source§impl Default for LoggingSftpAdditional
impl Default for LoggingSftpAdditional
Source§fn default() -> LoggingSftpAdditional
fn default() -> LoggingSftpAdditional
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LoggingSftpAdditional
impl<'de> Deserialize<'de> for LoggingSftpAdditional
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 LoggingSftpAdditional
impl PartialEq for LoggingSftpAdditional
Source§impl Serialize for LoggingSftpAdditional
impl Serialize for LoggingSftpAdditional
impl StructuralPartialEq for LoggingSftpAdditional
Auto Trait Implementations§
impl Freeze for LoggingSftpAdditional
impl RefUnwindSafe for LoggingSftpAdditional
impl Send for LoggingSftpAdditional
impl Sync for LoggingSftpAdditional
impl Unpin for LoggingSftpAdditional
impl UnwindSafe for LoggingSftpAdditional
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