#[non_exhaustive]pub struct CloudSessionRepository {
pub owner: String,
pub name: String,
pub branch: Option<String>,
}Expand description
GitHub repository metadata to associate with a cloud session.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.owner: StringRepository owner.
name: StringRepository name.
branch: Option<String>Optional branch name.
Implementations§
Trait Implementations§
Source§impl Clone for CloudSessionRepository
impl Clone for CloudSessionRepository
Source§fn clone(&self) -> CloudSessionRepository
fn clone(&self) -> CloudSessionRepository
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 CloudSessionRepository
impl Debug for CloudSessionRepository
Source§impl<'de> Deserialize<'de> for CloudSessionRepository
impl<'de> Deserialize<'de> for CloudSessionRepository
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 CloudSessionRepository
impl RefUnwindSafe for CloudSessionRepository
impl Send for CloudSessionRepository
impl Sync for CloudSessionRepository
impl Unpin for CloudSessionRepository
impl UnsafeUnpin for CloudSessionRepository
impl UnwindSafe for CloudSessionRepository
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