pub struct JsonConfigOpts {Show 13 fields
pub name: String,
pub camelcase: String,
pub title: String,
pub description: String,
pub repository: Option<Url>,
pub funding: Option<Url>,
pub scope: String,
pub file_types: Vec<String>,
pub version: Version,
pub license: String,
pub author: String,
pub email: Option<String>,
pub url: Option<Url>,
}
Fields§
§name: String
§camelcase: String
§title: String
§description: String
§repository: Option<Url>
§funding: Option<Url>
§scope: String
§file_types: Vec<String>
§version: Version
§license: String
§email: Option<String>
§url: Option<Url>
Implementations§
Source§impl JsonConfigOpts
impl JsonConfigOpts
pub fn to_tree_sitter_json(self) -> TreeSitterJSON
Trait Implementations§
Source§impl Clone for JsonConfigOpts
impl Clone for JsonConfigOpts
Source§fn clone(&self) -> JsonConfigOpts
fn clone(&self) -> JsonConfigOpts
Returns a copy 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 Default for JsonConfigOpts
impl Default for JsonConfigOpts
Source§impl<'de> Deserialize<'de> for JsonConfigOpts
impl<'de> Deserialize<'de> for JsonConfigOpts
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 JsonConfigOpts
impl RefUnwindSafe for JsonConfigOpts
impl Send for JsonConfigOpts
impl Sync for JsonConfigOpts
impl Unpin for JsonConfigOpts
impl UnwindSafe for JsonConfigOpts
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