pub struct Client { /* private fields */ }Expand description
A fixed-host, public-only client; no arbitrary URL, cookies, credentials or redirect is accepted.
Implementations§
Source§impl Client
impl Client
Sourcepub fn retained_biography(
&self,
store: &Store,
lang: &str,
name: &str,
) -> Result<Value, String>
pub fn retained_biography( &self, store: &Store, lang: &str, name: &str, ) -> Result<Value, String>
Revalidate public identity/revision on explicit reopen; fetch full text only when absent/changed. A failed revalidation leaves the retained copy intact, so the reader can report it while offline.
Source§impl Client
impl Client
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Client
impl !UnwindSafe for Client
impl Freeze for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnsafeUnpin for Client
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