Struct forgejo_api::structs::EditAttachmentOptions
source · pub struct EditAttachmentOptions {
pub name: Option<String>,
}Expand description
EditAttachmentOptions options for editing attachments
Fields§
§name: Option<String>Trait Implementations§
source§impl Clone for EditAttachmentOptions
impl Clone for EditAttachmentOptions
source§fn clone(&self) -> EditAttachmentOptions
fn clone(&self) -> EditAttachmentOptions
Returns a copy 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 EditAttachmentOptions
impl Debug for EditAttachmentOptions
source§impl<'de> Deserialize<'de> for EditAttachmentOptions
impl<'de> Deserialize<'de> for EditAttachmentOptions
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 EditAttachmentOptions
impl PartialEq for EditAttachmentOptions
source§fn eq(&self, other: &EditAttachmentOptions) -> bool
fn eq(&self, other: &EditAttachmentOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for EditAttachmentOptions
impl Serialize for EditAttachmentOptions
impl StructuralPartialEq for EditAttachmentOptions
Auto Trait Implementations§
impl Freeze for EditAttachmentOptions
impl RefUnwindSafe for EditAttachmentOptions
impl Send for EditAttachmentOptions
impl Sync for EditAttachmentOptions
impl Unpin for EditAttachmentOptions
impl UnwindSafe for EditAttachmentOptions
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