pub struct ProjectsUpdateRepo {
pub branch: Option<String>,
pub url: Option<String>,
}Expand description
ProjectsUpdateRepo : Repo relinks the git source. Absent leaves the existing link.
Fields§
§branch: Option<String>§url: Option<String>Implementations§
Source§impl ProjectsUpdateRepo
impl ProjectsUpdateRepo
Sourcepub fn new() -> ProjectsUpdateRepo
pub fn new() -> ProjectsUpdateRepo
Repo relinks the git source. Absent leaves the existing link.
Trait Implementations§
Source§impl Clone for ProjectsUpdateRepo
impl Clone for ProjectsUpdateRepo
Source§fn clone(&self) -> ProjectsUpdateRepo
fn clone(&self) -> ProjectsUpdateRepo
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 ProjectsUpdateRepo
impl Debug for ProjectsUpdateRepo
Source§impl Default for ProjectsUpdateRepo
impl Default for ProjectsUpdateRepo
Source§fn default() -> ProjectsUpdateRepo
fn default() -> ProjectsUpdateRepo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectsUpdateRepo
impl<'de> Deserialize<'de> for ProjectsUpdateRepo
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 ProjectsUpdateRepo
impl PartialEq for ProjectsUpdateRepo
Source§impl Serialize for ProjectsUpdateRepo
impl Serialize for ProjectsUpdateRepo
impl StructuralPartialEq for ProjectsUpdateRepo
Auto Trait Implementations§
impl Freeze for ProjectsUpdateRepo
impl RefUnwindSafe for ProjectsUpdateRepo
impl Send for ProjectsUpdateRepo
impl Sync for ProjectsUpdateRepo
impl Unpin for ProjectsUpdateRepo
impl UnsafeUnpin for ProjectsUpdateRepo
impl UnwindSafe for ProjectsUpdateRepo
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