pub struct CreateRepositoryParams<'a> {
pub name: &'a str,
pub description: &'a str,
pub public_access: Option<bool>,
}Fields§
§name: &'a strThe repository’s name.
description: &'a strA description of the repository.
public_access: Option<bool>If true, all Decthings users can find and use this repository. Defaults to false.
Trait Implementations§
Source§impl<'a> Clone for CreateRepositoryParams<'a>
impl<'a> Clone for CreateRepositoryParams<'a>
Source§fn clone(&self) -> CreateRepositoryParams<'a>
fn clone(&self) -> CreateRepositoryParams<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for CreateRepositoryParams<'a>
impl<'a> Debug for CreateRepositoryParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for CreateRepositoryParams<'a>
impl<'a> RefUnwindSafe for CreateRepositoryParams<'a>
impl<'a> Send for CreateRepositoryParams<'a>
impl<'a> Sync for CreateRepositoryParams<'a>
impl<'a> Unpin for CreateRepositoryParams<'a>
impl<'a> UnwindSafe for CreateRepositoryParams<'a>
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