pub struct RestrictionReason {
pub platforms: Vec<Platform>,
pub reason: String,
pub text: String,
}
Expand description
Contains the reason why a certain user is restricted.
Fields§
§platforms: Vec<Platform>
§reason: String
§text: String
Implementations§
Source§impl RestrictionReason
impl RestrictionReason
pub fn from_raw(reason: &RestrictionReason) -> Self
Auto Trait Implementations§
impl Freeze for RestrictionReason
impl RefUnwindSafe for RestrictionReason
impl Send for RestrictionReason
impl Sync for RestrictionReason
impl Unpin for RestrictionReason
impl UnwindSafe for RestrictionReason
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