pub struct SessionVisibilitySetResult {
pub share_url: Option<String>,
pub status: Option<SessionVisibilityStatus>,
pub synced: bool,
}Expand description
Effective sharing status and shareable GitHub URL after updating session visibility.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
Shareable GitHub URL for the session. Present when the session is synced and the URL can be resolved.
status: Option<SessionVisibilityStatus>Effective sharing status after the update. May differ from the requested status for task types that are already visible to repository readers by default. Absent when the update could not be applied (e.g. the session is not synced or the user is not authenticated).
synced: boolWhether the session has been synced to Mission Control (i.e. has a GitHub task). When false, the visibility change could not be applied and status/shareUrl are absent.
Trait Implementations§
Source§impl Clone for SessionVisibilitySetResult
impl Clone for SessionVisibilitySetResult
Source§fn clone(&self) -> SessionVisibilitySetResult
fn clone(&self) -> SessionVisibilitySetResult
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 SessionVisibilitySetResult
impl Debug for SessionVisibilitySetResult
Source§impl Default for SessionVisibilitySetResult
impl Default for SessionVisibilitySetResult
Source§fn default() -> SessionVisibilitySetResult
fn default() -> SessionVisibilitySetResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionVisibilitySetResult
impl<'de> Deserialize<'de> for SessionVisibilitySetResult
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 SessionVisibilitySetResult
impl RefUnwindSafe for SessionVisibilitySetResult
impl Send for SessionVisibilitySetResult
impl Sync for SessionVisibilitySetResult
impl Unpin for SessionVisibilitySetResult
impl UnsafeUnpin for SessionVisibilitySetResult
impl UnwindSafe for SessionVisibilitySetResult
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