#[non_exhaustive]pub struct AtHomeServer {
pub result: ResultType,
pub base_url: Url,
pub chapter: ChapterData,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.result: ResultType
§base_url: Url
The base URL to construct final image URLs from. The URL returned is valid for the requested chapter only, and for a duration of 15 minutes from the time of the response.
chapter: ChapterData
Trait Implementations§
Source§impl Clone for AtHomeServer
impl Clone for AtHomeServer
Source§fn clone(&self) -> AtHomeServer
fn clone(&self) -> AtHomeServer
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 AtHomeServer
impl Debug for AtHomeServer
Source§impl<'de> Deserialize<'de> for AtHomeServer
impl<'de> Deserialize<'de> for AtHomeServer
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 FromResponse for AtHomeServer
impl FromResponse for AtHomeServer
type Response = AtHomeServer
fn from_response(res: Self::Response) -> Self
Source§impl PartialEq for AtHomeServer
impl PartialEq for AtHomeServer
impl StructuralPartialEq for AtHomeServer
Auto Trait Implementations§
impl Freeze for AtHomeServer
impl RefUnwindSafe for AtHomeServer
impl Send for AtHomeServer
impl Sync for AtHomeServer
impl Unpin for AtHomeServer
impl UnwindSafe for AtHomeServer
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