<commit_before>use Endpoint;
use PageableEndpoint;
use Pager;
use client::Client;
use response;






#[derive(Serialize, Debug, Clone)]
pub struct GetFullEntry {
	pub id: usize,
}

impl Endpoint for GetFullEntry {
	type ResponseType = response::info::Fullentry;
	#[doc(hidden)]
	const URL: &'static str = "info/fullentry";
}



#[derive(Serialize, Debug, Clone)]
pub struct GetEntry {
	pub id: usize,
}

impl Endpoint for GetEntry {
	type ResponseType = response::info::GetEntry;
	#[doc(hidden)]
	const URL: &'static str = "info/entry";
}


#[derive(Serialize, Debug, Clone)]
pub struct GetNames {
	pub id: usize,
}<commit_msg>add shortcut constructor<commit_after>use Endpoint;
use PageableEndpoint;
use Pager;
use client::Client;
use response;






#[derive(Serialize, Debug, Clone)]
pub struct GetFullEntry {
	pub id: usize,
}

impl Endpoint for GetFullEntry {
	type ResponseType = response::info::Fullentry;
	#[doc(hidden)]
	const URL: &'static str = "info/fullentry";
}


impl GetFullEntry {
	pub fn with_default(id: usize) -> Self {
		Self {
			id: id as usize
		}
	}
}



#[derive(Serialize, Debug, Clone)]
pub struct GetEntry {
	pub id: usize,
}

impl Endpoint for GetEntry {
	type ResponseType = response::info::GetEntry;
	#[doc(hidden)]
	const URL: &'static str = "info/entry";
}

impl GetEntry {
	pub fn with_default(id: usize) -> Self {
		Self {
			id: id as usize
		}
	}
}



#[derive(Serialize, Debug, Clone)]
pub struct GetNames {
	pub id: usize,
}
{'fraction_non_alphanumeric': 0.13242320819112627, 'fraction_numerical': 0.0, 'mean_word_length': 4.532075471698113, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6563256', 'n_tokens_mistral': 529, 'n_tokens_neox': 534, 'n_words': 152}