pub struct ContentsQuery {
pub git_ref: Option<String>,
}Expand description
Query parameters for contents API.
Fields§
§git_ref: Option<String>Git ref (branch, tag, or SHA).
Trait Implementations§
Source§impl Clone for ContentsQuery
impl Clone for ContentsQuery
Source§fn clone(&self) -> ContentsQuery
fn clone(&self) -> ContentsQuery
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 ContentsQuery
impl Debug for ContentsQuery
Source§impl Default for ContentsQuery
impl Default for ContentsQuery
Source§fn default() -> ContentsQuery
fn default() -> ContentsQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContentsQuery
impl<'de> Deserialize<'de> for ContentsQuery
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 ContentsQuery
impl RefUnwindSafe for ContentsQuery
impl Send for ContentsQuery
impl Sync for ContentsQuery
impl Unpin for ContentsQuery
impl UnsafeUnpin for ContentsQuery
impl UnwindSafe for ContentsQuery
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