pub struct GetHubScriptByPath200Response {
pub content: String,
pub lockfile: Option<String>,
pub schema: Option<Option<Value>>,
pub language: String,
pub summary: Option<String>,
}
Fields§
§content: String
§lockfile: Option<String>
§schema: Option<Option<Value>>
§language: String
§summary: Option<String>
Implementations§
Source§impl GetHubScriptByPath200Response
impl GetHubScriptByPath200Response
pub fn new(content: String, language: String) -> GetHubScriptByPath200Response
Trait Implementations§
Source§impl Clone for GetHubScriptByPath200Response
impl Clone for GetHubScriptByPath200Response
Source§fn clone(&self) -> GetHubScriptByPath200Response
fn clone(&self) -> GetHubScriptByPath200Response
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 Default for GetHubScriptByPath200Response
impl Default for GetHubScriptByPath200Response
Source§fn default() -> GetHubScriptByPath200Response
fn default() -> GetHubScriptByPath200Response
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetHubScriptByPath200Response
impl<'de> Deserialize<'de> for GetHubScriptByPath200Response
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
Source§impl PartialEq for GetHubScriptByPath200Response
impl PartialEq for GetHubScriptByPath200Response
Source§fn eq(&self, other: &GetHubScriptByPath200Response) -> bool
fn eq(&self, other: &GetHubScriptByPath200Response) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetHubScriptByPath200Response
Auto Trait Implementations§
impl Freeze for GetHubScriptByPath200Response
impl RefUnwindSafe for GetHubScriptByPath200Response
impl Send for GetHubScriptByPath200Response
impl Sync for GetHubScriptByPath200Response
impl Unpin for GetHubScriptByPath200Response
impl UnwindSafe for GetHubScriptByPath200Response
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