pub struct MatrixConfig {
pub home_server: String,
pub next_batch: Option<String>,
pub txn_id: u64,
pub login: Value,
}Expand description
The “matrix” section of the config, which gives home server, login information, and etc.
Fields§
§home_server: StringYour homeserver of choice, as an FQDN without scheme or path
next_batch: Option<String>The next batch to grab. This should be set automatically
txn_id: u64The transaction ID. This should be set automatically
login: ValueThe login table. This may be set to whatever you wish, depending on your login method, though multi-step logins (like challenge-based) won’t work here.
Trait Implementations§
Source§impl Debug for MatrixConfig
impl Debug for MatrixConfig
Source§impl<'de> Deserialize<'de> for MatrixConfig
impl<'de> Deserialize<'de> for MatrixConfig
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
Auto Trait Implementations§
impl Freeze for MatrixConfig
impl RefUnwindSafe for MatrixConfig
impl Send for MatrixConfig
impl Sync for MatrixConfig
impl Unpin for MatrixConfig
impl UnsafeUnpin for MatrixConfig
impl UnwindSafe for MatrixConfig
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