pub struct TopicViewerCapabilitiesDTO {
pub can_edit: bool,
pub can_reply: bool,
pub can_delete: bool,
pub can_bookmark: bool,
pub can_close: bool,
pub can_reopen: bool,
pub can_unselect_answer: bool,
pub can_clear_duplicate: bool,
pub can_mark_duplicate: bool,
pub can_pin_globally: bool,
pub can_unpin: bool,
pub pinnable_tag_ids: Vec<String>,
}Fields§
§can_edit: bool§can_reply: bool§can_delete: bool§can_bookmark: bool§can_close: bool§can_reopen: bool§can_unselect_answer: bool§can_clear_duplicate: bool§can_mark_duplicate: bool§can_pin_globally: bool§can_unpin: bool§pinnable_tag_ids: Vec<String>Trait Implementations§
Source§impl Clone for TopicViewerCapabilitiesDTO
impl Clone for TopicViewerCapabilitiesDTO
Source§impl Debug for TopicViewerCapabilitiesDTO
impl Debug for TopicViewerCapabilitiesDTO
Source§impl<'de> Deserialize<'de> for TopicViewerCapabilitiesDTO
impl<'de> Deserialize<'de> for TopicViewerCapabilitiesDTO
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 TopicViewerCapabilitiesDTO
impl RefUnwindSafe for TopicViewerCapabilitiesDTO
impl Send for TopicViewerCapabilitiesDTO
impl Sync for TopicViewerCapabilitiesDTO
impl Unpin for TopicViewerCapabilitiesDTO
impl UnsafeUnpin for TopicViewerCapabilitiesDTO
impl UnwindSafe for TopicViewerCapabilitiesDTO
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