#[non_exhaustive]pub struct FetchRemoteBranchesResponse {
pub branches: Vec<String>,
/* private fields */
}Expand description
FetchRemoteBranches response message.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.branches: Vec<String>The remote repository’s branch names.
Implementations§
Source§impl FetchRemoteBranchesResponse
impl FetchRemoteBranchesResponse
pub fn new() -> Self
Sourcepub fn set_branches<T, V>(self, v: T) -> Self
pub fn set_branches<T, V>(self, v: T) -> Self
Sets the value of branches.
Trait Implementations§
Source§impl Clone for FetchRemoteBranchesResponse
impl Clone for FetchRemoteBranchesResponse
Source§fn clone(&self) -> FetchRemoteBranchesResponse
fn clone(&self) -> FetchRemoteBranchesResponse
Returns a duplicate 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 FetchRemoteBranchesResponse
impl Debug for FetchRemoteBranchesResponse
Source§impl Default for FetchRemoteBranchesResponse
impl Default for FetchRemoteBranchesResponse
Source§fn default() -> FetchRemoteBranchesResponse
fn default() -> FetchRemoteBranchesResponse
Returns the “default value” for a type. Read more
impl StructuralPartialEq for FetchRemoteBranchesResponse
Auto Trait Implementations§
impl Freeze for FetchRemoteBranchesResponse
impl RefUnwindSafe for FetchRemoteBranchesResponse
impl Send for FetchRemoteBranchesResponse
impl Sync for FetchRemoteBranchesResponse
impl Unpin for FetchRemoteBranchesResponse
impl UnwindSafe for FetchRemoteBranchesResponse
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