pub struct GetAtHomeServer {
pub chapter_id: Uuid,
pub force_port_443: bool,
/* private fields */
}
Fields§
§chapter_id: Uuid
§force_port_443: bool
Force selecting from MangaDex@Home servers that use the standard HTTPS port 443.
While the conventional port for HTTPS traffic is 443 and servers are encouraged to use it, it is not a hard requirement as it technically isn’t anything special.
However, some misbehaving school/office network will at time block traffic to non-standard ports, and setting this flag to true will ensure selection of a server that uses these.
Implementations§
Source§impl GetAtHomeServer
impl GetAtHomeServer
Sourcepub async fn send(&self) -> Result<Limited<AtHomeServer>>
pub async fn send(&self) -> Result<Limited<AtHomeServer>>
Send the request.
Trait Implementations§
Source§impl Clone for GetAtHomeServer
impl Clone for GetAtHomeServer
Source§fn clone(&self) -> GetAtHomeServer
fn clone(&self) -> GetAtHomeServer
Returns a copy 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 GetAtHomeServer
impl Debug for GetAtHomeServer
Auto Trait Implementations§
impl Freeze for GetAtHomeServer
impl !RefUnwindSafe for GetAtHomeServer
impl !Send for GetAtHomeServer
impl !Sync for GetAtHomeServer
impl Unpin for GetAtHomeServer
impl !UnwindSafe for GetAtHomeServer
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