pub struct GetContentInput {
pub id: ContentId,
}Expand description
Input for reading a post or comment by UUID. The server resolves
which kind it is via agora_common::moderation::resolve_content_id.
Fields§
§id: ContentIdId of the post or comment to read
Trait Implementations§
Source§impl Clone for GetContentInput
impl Clone for GetContentInput
Source§fn clone(&self) -> GetContentInput
fn clone(&self) -> GetContentInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetContentInput
impl Debug for GetContentInput
Source§impl<'de> Deserialize<'de> for GetContentInput
impl<'de> Deserialize<'de> for GetContentInput
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 GetContentInput
impl RefUnwindSafe for GetContentInput
impl Send for GetContentInput
impl Sync for GetContentInput
impl Unpin for GetContentInput
impl UnsafeUnpin for GetContentInput
impl UnwindSafe for GetContentInput
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