pub struct PatchIn {
pub name: Option<String>,
pub public: Option<bool>,
}Fields§
§name: Option<String>Name is the repo to update, from the :name path segment.
public: Option<bool>Public flips anonymous read access. Omit it and the request is refused — there is nothing else to update yet.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PatchIn
impl<'de> Deserialize<'de> for PatchIn
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
impl StructuralPartialEq for PatchIn
Auto Trait Implementations§
impl Freeze for PatchIn
impl RefUnwindSafe for PatchIn
impl Send for PatchIn
impl Sync for PatchIn
impl Unpin for PatchIn
impl UnsafeUnpin for PatchIn
impl UnwindSafe for PatchIn
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