pub struct VisibilitySetResult {
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 VisibilitySetResult
impl Clone for VisibilitySetResult
Source§fn clone(&self) -> VisibilitySetResult
fn clone(&self) -> VisibilitySetResult
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 VisibilitySetResult
impl Debug for VisibilitySetResult
Source§impl Default for VisibilitySetResult
impl Default for VisibilitySetResult
Source§fn default() -> VisibilitySetResult
fn default() -> VisibilitySetResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VisibilitySetResult
impl<'de> Deserialize<'de> for VisibilitySetResult
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 VisibilitySetResult
impl RefUnwindSafe for VisibilitySetResult
impl Send for VisibilitySetResult
impl Sync for VisibilitySetResult
impl Unpin for VisibilitySetResult
impl UnsafeUnpin for VisibilitySetResult
impl UnwindSafe for VisibilitySetResult
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