pub struct CodeRepositoryUpdateRequest {
pub repository: String,
pub base_ref: Option<String>,
pub head_ref: Option<String>,
}Expand description
Requests an incremental update from the last published Git snapshot.
The service resolves both optional refs to immutable commit identities
before durable work is queued. Omitting base_ref selects the last
successfully published clean commit; omitting head_ref selects HEAD.
Fields§
§repository: String§base_ref: Option<String>§head_ref: Option<String>Trait Implementations§
Source§impl Clone for CodeRepositoryUpdateRequest
impl Clone for CodeRepositoryUpdateRequest
Source§fn clone(&self) -> CodeRepositoryUpdateRequest
fn clone(&self) -> CodeRepositoryUpdateRequest
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 CodeRepositoryUpdateRequest
impl Debug for CodeRepositoryUpdateRequest
Source§impl Default for CodeRepositoryUpdateRequest
impl Default for CodeRepositoryUpdateRequest
Source§fn default() -> CodeRepositoryUpdateRequest
fn default() -> CodeRepositoryUpdateRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodeRepositoryUpdateRequest
impl<'de> Deserialize<'de> for CodeRepositoryUpdateRequest
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 Eq for CodeRepositoryUpdateRequest
impl StructuralPartialEq for CodeRepositoryUpdateRequest
Auto Trait Implementations§
impl Freeze for CodeRepositoryUpdateRequest
impl RefUnwindSafe for CodeRepositoryUpdateRequest
impl Send for CodeRepositoryUpdateRequest
impl Sync for CodeRepositoryUpdateRequest
impl Unpin for CodeRepositoryUpdateRequest
impl UnsafeUnpin for CodeRepositoryUpdateRequest
impl UnwindSafe for CodeRepositoryUpdateRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.