Struct mediathekviewweb::Mediathek
source · pub struct Mediathek { /* private fields */ }Expand description
A client for a MediathekViewWeb server.
Implementations§
source§impl Mediathek
impl Mediathek
sourcepub fn new(user_agent: HeaderValue) -> Result<Self>
pub fn new(user_agent: HeaderValue) -> Result<Self>
Create a new client for the official server hosted at https://mediathekviewweb.de.
user_agent identifies your application so the server administrators
can contact you in case of a problem.
sourcepub fn new_with_url(
base_url: impl Into<String>,
user_agent: HeaderValue
) -> Result<Self>
pub fn new_with_url( base_url: impl Into<String>, user_agent: HeaderValue ) -> Result<Self>
Create a new client for a MediathekViewWeb server hosted at a specific URL.
user_agent identifies your application so the server administrators
can contact you in case of a problem.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Mediathek
impl Send for Mediathek
impl Sync for Mediathek
impl Unpin for Mediathek
impl !UnwindSafe for Mediathek
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