pub struct ModuleItemResp {
pub id: i64,
pub module_id: i64,
pub position: i64,
pub title: String,
pub indent: i64,
pub type_: String,
pub content_id: Option<i64>,
pub html_url: Option<String>,
pub url: Option<String>,
pub page_url: Option<String>,
pub external_url: Option<String>,
pub new_tab: Option<bool>,
}
Fields§
§id: i64
§module_id: i64
§position: i64
§title: String
§indent: i64
§type_: String
§content_id: Option<i64>
§html_url: Option<String>
§url: Option<String>
§page_url: Option<String>
§external_url: Option<String>
§new_tab: Option<bool>
Trait Implementations§
Source§impl Clone for ModuleItemResp
impl Clone for ModuleItemResp
Source§fn clone(&self) -> ModuleItemResp
fn clone(&self) -> ModuleItemResp
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 ModuleItemResp
impl Debug for ModuleItemResp
Source§impl<'de> Deserialize<'de> for ModuleItemResp
impl<'de> Deserialize<'de> for ModuleItemResp
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 ModuleItemResp
impl RefUnwindSafe for ModuleItemResp
impl Send for ModuleItemResp
impl Sync for ModuleItemResp
impl Unpin for ModuleItemResp
impl UnwindSafe for ModuleItemResp
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