pub struct HostAttachments {
pub max_bytes: u64,
pub file_servers: Vec<String>,
}Expand description
session.welcome.attachments (§8.5).
Fields§
§max_bytes: u64The largest file the host takes, bytes.
file_servers: Vec<String>The XFTP servers (xftp://…) the host downloads uploads from. A member’s client
uploads only to these; the host never fetches from any other server, so an upload
to another one fails with failure: file_server.
Trait Implementations§
Source§impl Clone for HostAttachments
impl Clone for HostAttachments
Source§fn clone(&self) -> HostAttachments
fn clone(&self) -> HostAttachments
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 HostAttachments
impl Debug for HostAttachments
Source§impl<'de> Deserialize<'de> for HostAttachments
impl<'de> Deserialize<'de> for HostAttachments
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 HostAttachments
Source§impl PartialEq for HostAttachments
impl PartialEq for HostAttachments
Source§impl Serialize for HostAttachments
impl Serialize for HostAttachments
impl StructuralPartialEq for HostAttachments
Auto Trait Implementations§
impl Freeze for HostAttachments
impl RefUnwindSafe for HostAttachments
impl Send for HostAttachments
impl Sync for HostAttachments
impl Unpin for HostAttachments
impl UnsafeUnpin for HostAttachments
impl UnwindSafe for HostAttachments
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