pub struct GetReleaseList2Query<Cx, Str = CompactString> {
pub context: Cx,
pub package: Str,
}
Expand description
List of all releases including minimum PHP version
Fields§
§context: Cx
§package: Str
Implementations§
Source§impl<Cx, Str> GetReleaseList2Query<Cx, Str>
impl<Cx, Str> GetReleaseList2Query<Cx, Str>
pub fn set_context<NewCx>( self, new_context: NewCx, ) -> GetReleaseList2Query<NewCx, Str>
Source§impl<Cx, Str> GetReleaseList2Query<Cx, Str>
impl<Cx, Str> GetReleaseList2Query<Cx, Str>
pub fn as_view(&self) -> GetReleaseList2QueryView<'_, Cx, &str>
Source§impl GetReleaseList2Query<EmptyContext>
impl GetReleaseList2Query<EmptyContext>
pub const fn new(package: CompactString) -> Self
Trait Implementations§
Source§impl<Cx: Clone, Str: Clone> Clone for GetReleaseList2Query<Cx, Str>
impl<Cx: Clone, Str: Clone> Clone for GetReleaseList2Query<Cx, Str>
Source§fn clone(&self) -> GetReleaseList2Query<Cx, Str>
fn clone(&self) -> GetReleaseList2Query<Cx, Str>
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<'de, Cx, Str> Deserialize<'de> for GetReleaseList2Query<Cx, Str>where
Cx: Deserialize<'de>,
Str: Deserialize<'de>,
impl<'de, Cx, Str> Deserialize<'de> for GetReleaseList2Query<Cx, Str>where
Cx: Deserialize<'de>,
Str: Deserialize<'de>,
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<Cx: Ord, Str: Ord> Ord for GetReleaseList2Query<Cx, Str>
impl<Cx: Ord, Str: Ord> Ord for GetReleaseList2Query<Cx, Str>
Source§fn cmp(&self, other: &GetReleaseList2Query<Cx, Str>) -> Ordering
fn cmp(&self, other: &GetReleaseList2Query<Cx, Str>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<Cx: PartialEq, Str: PartialEq> PartialEq for GetReleaseList2Query<Cx, Str>
impl<Cx: PartialEq, Str: PartialEq> PartialEq for GetReleaseList2Query<Cx, Str>
Source§fn eq(&self, other: &GetReleaseList2Query<Cx, Str>) -> bool
fn eq(&self, other: &GetReleaseList2Query<Cx, Str>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl<Cx: PartialOrd, Str: PartialOrd> PartialOrd for GetReleaseList2Query<Cx, Str>
impl<Cx: PartialOrd, Str: PartialOrd> PartialOrd for GetReleaseList2Query<Cx, Str>
Source§impl<Cx, Str> Serialize for GetReleaseList2Query<Cx, Str>
impl<Cx, Str> Serialize for GetReleaseList2Query<Cx, Str>
impl<Cx: Eq, Str: Eq> Eq for GetReleaseList2Query<Cx, Str>
impl<Cx, Str> StructuralPartialEq for GetReleaseList2Query<Cx, Str>
Auto Trait Implementations§
impl<Cx, Str> Freeze for GetReleaseList2Query<Cx, Str>
impl<Cx, Str> RefUnwindSafe for GetReleaseList2Query<Cx, Str>where
Cx: RefUnwindSafe,
Str: RefUnwindSafe,
impl<Cx, Str> Send for GetReleaseList2Query<Cx, Str>
impl<Cx, Str> Sync for GetReleaseList2Query<Cx, Str>
impl<Cx, Str> Unpin for GetReleaseList2Query<Cx, Str>
impl<Cx, Str> UnwindSafe for GetReleaseList2Query<Cx, Str>where
Cx: UnwindSafe,
Str: UnwindSafe,
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