pub struct PrivateAssets {
pub url: String,
pub checkout: String,
pub pin_file: String,
pub folders: Vec<String>,
pub library: Option<String>,
pub copies: Vec<CopyOut>,
pub credits: Option<Credited>,
pub no_access: String,
}Expand description
The private repository of files the game may not hand out (bought art): checked out into a git-ignored folder at a pinned commit.
Fields§
§url: StringThe repository.
checkout: StringWhere it is checked out, in the project’s root.
pin_file: StringThe file in the project’s root that names the commit to build with.
folders: Vec<String>The folders of the repository a checkout made here holds (the first is the one a new clone starts with).
library: Option<String>The folder --library brings too, if any.
copies: Vec<CopyOut>Folders copied out of the checkout into the project’s root (each replaced whole), after a fetch.
credits: Option<Credited>What --pin checks has a credit, if anything.
no_access: StringWhat a refused clone or fetch says about who may read the repository.
Trait Implementations§
Source§impl Clone for PrivateAssets
impl Clone for PrivateAssets
Source§fn clone(&self) -> PrivateAssets
fn clone(&self) -> PrivateAssets
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 PrivateAssets
impl Debug for PrivateAssets
Source§impl Default for PrivateAssets
impl Default for PrivateAssets
Source§fn default() -> PrivateAssets
fn default() -> PrivateAssets
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrivateAssetswhere
PrivateAssets: Default,
impl<'de> Deserialize<'de> for PrivateAssetswhere
PrivateAssets: Default,
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
impl Eq for PrivateAssets
Source§impl PartialEq for PrivateAssets
impl PartialEq for PrivateAssets
impl StructuralPartialEq for PrivateAssets
Auto Trait Implementations§
impl Freeze for PrivateAssets
impl RefUnwindSafe for PrivateAssets
impl Send for PrivateAssets
impl Sync for PrivateAssets
impl Unpin for PrivateAssets
impl UnsafeUnpin for PrivateAssets
impl UnwindSafe for PrivateAssets
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.