pub struct ApiCommentBaseMeta {
pub wp_user_id: Option<String>,
pub wp_post_id: Option<String>,
}Fields§
§wp_user_id: Option<String>§wp_post_id: Option<String>Implementations§
Source§impl ApiCommentBaseMeta
impl ApiCommentBaseMeta
pub fn new() -> ApiCommentBaseMeta
Trait Implementations§
Source§impl Clone for ApiCommentBaseMeta
impl Clone for ApiCommentBaseMeta
Source§fn clone(&self) -> ApiCommentBaseMeta
fn clone(&self) -> ApiCommentBaseMeta
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 ApiCommentBaseMeta
impl Debug for ApiCommentBaseMeta
Source§impl Default for ApiCommentBaseMeta
impl Default for ApiCommentBaseMeta
Source§fn default() -> ApiCommentBaseMeta
fn default() -> ApiCommentBaseMeta
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApiCommentBaseMeta
impl<'de> Deserialize<'de> for ApiCommentBaseMeta
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
Source§impl PartialEq for ApiCommentBaseMeta
impl PartialEq for ApiCommentBaseMeta
Source§impl Serialize for ApiCommentBaseMeta
impl Serialize for ApiCommentBaseMeta
impl StructuralPartialEq for ApiCommentBaseMeta
Auto Trait Implementations§
impl Freeze for ApiCommentBaseMeta
impl RefUnwindSafe for ApiCommentBaseMeta
impl Send for ApiCommentBaseMeta
impl Sync for ApiCommentBaseMeta
impl Unpin for ApiCommentBaseMeta
impl UnsafeUnpin for ApiCommentBaseMeta
impl UnwindSafe for ApiCommentBaseMeta
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