pub struct UpdateRepoAvatarOption {
pub image: Option<String>,
}
Expand description
UpdateRepoAvatarOption : UpdateRepoAvatarUserOption options when updating the repo avatar
Fields§
§image: Option<String>
image must be base64 encoded
Implementations§
Source§impl UpdateRepoAvatarOption
impl UpdateRepoAvatarOption
Sourcepub fn new() -> UpdateRepoAvatarOption
pub fn new() -> UpdateRepoAvatarOption
UpdateRepoAvatarUserOption options when updating the repo avatar
Trait Implementations§
Source§impl Clone for UpdateRepoAvatarOption
impl Clone for UpdateRepoAvatarOption
Source§fn clone(&self) -> UpdateRepoAvatarOption
fn clone(&self) -> UpdateRepoAvatarOption
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 UpdateRepoAvatarOption
impl Debug for UpdateRepoAvatarOption
Source§impl Default for UpdateRepoAvatarOption
impl Default for UpdateRepoAvatarOption
Source§fn default() -> UpdateRepoAvatarOption
fn default() -> UpdateRepoAvatarOption
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateRepoAvatarOption
impl<'de> Deserialize<'de> for UpdateRepoAvatarOption
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 UpdateRepoAvatarOption
impl PartialEq for UpdateRepoAvatarOption
Source§impl Serialize for UpdateRepoAvatarOption
impl Serialize for UpdateRepoAvatarOption
impl StructuralPartialEq for UpdateRepoAvatarOption
Auto Trait Implementations§
impl Freeze for UpdateRepoAvatarOption
impl RefUnwindSafe for UpdateRepoAvatarOption
impl Send for UpdateRepoAvatarOption
impl Sync for UpdateRepoAvatarOption
impl Unpin for UpdateRepoAvatarOption
impl UnwindSafe for UpdateRepoAvatarOption
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