pub struct RelatedParams {
pub id: String,
pub depth: Option<usize>,
pub limit: Option<usize>,
}Expand description
issue/related params. Default depth is 2 and limit is 20.
Fields§
§id: StringCenter issue id.
depth: Option<usize>Graph walk depth.
limit: Option<usize>Max hits.
Trait Implementations§
Source§impl Clone for RelatedParams
impl Clone for RelatedParams
Source§fn clone(&self) -> RelatedParams
fn clone(&self) -> RelatedParams
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 RelatedParams
impl Debug for RelatedParams
Source§impl<'de> Deserialize<'de> for RelatedParams
impl<'de> Deserialize<'de> for RelatedParams
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
impl Eq for RelatedParams
Source§impl PartialEq for RelatedParams
impl PartialEq for RelatedParams
Source§impl Serialize for RelatedParams
impl Serialize for RelatedParams
impl StructuralPartialEq for RelatedParams
Auto Trait Implementations§
impl Freeze for RelatedParams
impl RefUnwindSafe for RelatedParams
impl Send for RelatedParams
impl Sync for RelatedParams
impl Unpin for RelatedParams
impl UnsafeUnpin for RelatedParams
impl UnwindSafe for RelatedParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.