Struct texcreate_repo::Repo
source · pub struct Repo { /* private fields */ }
Expand description
A Metadata file used to maintain the TexCreate Template Releases
Implementations§
source§impl Repo
impl Repo
sourcepub fn from_string(s: &str) -> Self
pub fn from_string(s: &str) -> Self
Creates a new Repo
using a TOML String
sourcepub fn template_exist(&self, name: &str) -> bool
pub fn template_exist(&self, name: &str) -> bool
Checks if a name exists in info
Trait Implementations§
source§impl<'de> Deserialize<'de> for Repo
impl<'de> Deserialize<'de> for Repo
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