pub struct ChangeStanding {
pub url: Url,
pub body: String,
pub base: String,
pub head_branch: String,
pub head: Sha,
pub draft: bool,
pub state: ChangeState,
pub checks: ChecksVerdict,
}Expand description
Where one change request stands, as the host reports it.
Fields§
§url: UrlThe change request, as the host addresses it.
body: StringThe description as the host holds it, so a caller can rewrite one part of it.
base: StringThe branch the change request targets now, as the host reports it.
head_branch: StringThe branch it carries.
head: ShaThe commit its head is at.
draft: boolWhether the host holds it as a draft.
state: ChangeStateOpen, merged and into which branch, or closed.
checks: ChecksVerdictThe required checks’ verdict on head.
Trait Implementations§
Source§impl Clone for ChangeStanding
impl Clone for ChangeStanding
Source§impl Debug for ChangeStanding
impl Debug for ChangeStanding
Source§impl<'de> Deserialize<'de> for ChangeStanding
impl<'de> Deserialize<'de> for ChangeStanding
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 ChangeStanding
Source§impl PartialEq for ChangeStanding
impl PartialEq for ChangeStanding
Source§impl Serialize for ChangeStanding
impl Serialize for ChangeStanding
impl StructuralPartialEq for ChangeStanding
Auto Trait Implementations§
impl Freeze for ChangeStanding
impl RefUnwindSafe for ChangeStanding
impl Send for ChangeStanding
impl Sync for ChangeStanding
impl Unpin for ChangeStanding
impl UnsafeUnpin for ChangeStanding
impl UnwindSafe for ChangeStanding
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.