pub struct CommentInputInterface {
pub comment_text: String,
pub password: String,
pub url: Url,
pub compression_type: CompressionType,
pub cipher_algorithm: CipherAlgorithm,
pub cipher_mode: CipherMode,
pub parent_id: String,
pub paste_id: String,
pub nickname: String,
pub decryption_key: String,
}
Expand description
The parameters that are needed for a comment upload
Fields§
§comment_text: String
§password: String
§url: Url
§compression_type: CompressionType
§cipher_algorithm: CipherAlgorithm
§cipher_mode: CipherMode
§parent_id: String
§paste_id: String
§nickname: String
§decryption_key: String
Trait Implementations§
Source§impl Debug for CommentInputInterface
impl Debug for CommentInputInterface
Source§impl<'de> Deserialize<'de> for CommentInputInterface
impl<'de> Deserialize<'de> for CommentInputInterface
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 CommentInputInterface
impl RefUnwindSafe for CommentInputInterface
impl Send for CommentInputInterface
impl Sync for CommentInputInterface
impl Unpin for CommentInputInterface
impl UnwindSafe for CommentInputInterface
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