pub struct SessionEntity {
pub id: Option<String>,
pub language: Option<String>,
pub read_only: Option<bool>,
pub sftp_insecure_ciphers: Option<bool>,
}
Expand description
Session entity from Files.com API
Fields§
§id: Option<String>
Session ID
language: Option<String>
Language preference for this session
read_only: Option<bool>
Is this a read-only session
sftp_insecure_ciphers: Option<bool>
Allow insecure SFTP ciphers
Trait Implementations§
Source§impl Clone for SessionEntity
impl Clone for SessionEntity
Source§fn clone(&self) -> SessionEntity
fn clone(&self) -> SessionEntity
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 SessionEntity
impl Debug for SessionEntity
Source§impl<'de> Deserialize<'de> for SessionEntity
impl<'de> Deserialize<'de> for SessionEntity
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
Auto Trait Implementations§
impl Freeze for SessionEntity
impl RefUnwindSafe for SessionEntity
impl Send for SessionEntity
impl Sync for SessionEntity
impl Unpin for SessionEntity
impl UnwindSafe for SessionEntity
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