pub struct SessionSettingsRepoSnapshot {
pub branch: Option<String>,
pub commit: Option<String>,
pub host: Option<String>,
pub host_protocol: Option<String>,
pub id: Option<f64>,
pub name: Option<String>,
pub owner_id: Option<f64>,
pub owner_name: Option<String>,
pub pr_commit_count: Option<f64>,
pub read_write: Option<bool>,
pub secret_scanning_url: Option<String>,
pub server_url: Option<String>,
}Expand description
Redacted repository and GitHub host settings for a session.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§branch: Option<String>§commit: Option<String>§host: Option<String>§host_protocol: Option<String>§id: Option<f64>§name: Option<String>§owner_id: Option<f64>§owner_name: Option<String>§pr_commit_count: Option<f64>§read_write: Option<bool>§secret_scanning_url: Option<String>§server_url: Option<String>Trait Implementations§
Source§impl Clone for SessionSettingsRepoSnapshot
impl Clone for SessionSettingsRepoSnapshot
Source§fn clone(&self) -> SessionSettingsRepoSnapshot
fn clone(&self) -> SessionSettingsRepoSnapshot
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 SessionSettingsRepoSnapshot
impl Debug for SessionSettingsRepoSnapshot
Source§impl Default for SessionSettingsRepoSnapshot
impl Default for SessionSettingsRepoSnapshot
Source§fn default() -> SessionSettingsRepoSnapshot
fn default() -> SessionSettingsRepoSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionSettingsRepoSnapshot
impl<'de> Deserialize<'de> for SessionSettingsRepoSnapshot
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
Auto Trait Implementations§
impl Freeze for SessionSettingsRepoSnapshot
impl RefUnwindSafe for SessionSettingsRepoSnapshot
impl Send for SessionSettingsRepoSnapshot
impl Sync for SessionSettingsRepoSnapshot
impl Unpin for SessionSettingsRepoSnapshot
impl UnsafeUnpin for SessionSettingsRepoSnapshot
impl UnwindSafe for SessionSettingsRepoSnapshot
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