pub struct ServerCredentials {
pub domain: String,
pub username: String,
pub password: String,
pub fediverse_service_kind: FediverseServiceKind,
}Expand description
The credentials required to log in to a fediverse service and post.
Fields§
§domain: StringThe domain of the fediverse service, e.g. sopuli.xyz.
username: StringThe username to log in with.
password: StringThe password to log in with.
fediverse_service_kind: FediverseServiceKindThe kind of fediverse service to post to.
Trait Implementations§
Source§impl Clone for ServerCredentials
impl Clone for ServerCredentials
Source§fn clone(&self) -> ServerCredentials
fn clone(&self) -> ServerCredentials
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 moreAuto Trait Implementations§
impl Freeze for ServerCredentials
impl RefUnwindSafe for ServerCredentials
impl Send for ServerCredentials
impl Sync for ServerCredentials
impl Unpin for ServerCredentials
impl UnsafeUnpin for ServerCredentials
impl UnwindSafe for ServerCredentials
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