pub struct SubmoltResponse {
pub submolt: Submolt,
pub your_role: Option<String>,
}Expand description
Response containing submolt details and the current user’s role.
Fields§
§submolt: Submolt§your_role: Option<String>Trait Implementations§
Source§impl Clone for SubmoltResponse
impl Clone for SubmoltResponse
Source§fn clone(&self) -> SubmoltResponse
fn clone(&self) -> SubmoltResponse
Returns a duplicate 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 SubmoltResponse
impl Debug for SubmoltResponse
Source§impl<'de> Deserialize<'de> for SubmoltResponse
impl<'de> Deserialize<'de> for SubmoltResponse
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 SubmoltResponse
impl RefUnwindSafe for SubmoltResponse
impl Send for SubmoltResponse
impl Sync for SubmoltResponse
impl Unpin for SubmoltResponse
impl UnsafeUnpin for SubmoltResponse
impl UnwindSafe for SubmoltResponse
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