pub struct LocationParameters { /* private fields */ }Implementations§
Source§impl LocationParameters
impl LocationParameters
pub fn parse(input: &str) -> IResult<&str, Self, IErr<&str>>
pub fn dir(&mut self, dir: Option<String>) -> &mut Self
pub fn nar_hash(&mut self, nar_hash: Option<String>) -> &mut Self
pub fn host(&mut self, host: Option<String>) -> &mut Self
pub fn rev(&mut self, rev: Option<String>) -> &mut Self
pub fn ref(&mut self, ref: Option<String>) -> &mut Self
pub fn set_dir(&mut self, dir: Option<String>)
pub fn set_nar_hash(&mut self, nar_hash: Option<String>)
pub fn set_rev(&mut self, rev: Option<String>)
pub fn set_ref(&mut self, ref: Option<String>)
pub fn set_host(&mut self, host: Option<String>)
pub fn rev_count_mut(&mut self) -> &mut Option<String>
pub fn set_branch(&mut self, branch: Option<String>)
pub fn set_submodules(&mut self, submodules: Option<String>)
pub fn set_shallow(&mut self, shallow: Option<String>)
pub fn add_arbitrary(&mut self, arbitrary: (String, String))
pub const fn get_rev(&self) -> Option<&String>
pub const fn get_ref(&self) -> Option<&String>
Trait Implementations§
Source§impl Clone for LocationParameters
impl Clone for LocationParameters
Source§fn clone(&self) -> LocationParameters
fn clone(&self) -> LocationParameters
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 Debug for LocationParameters
impl Debug for LocationParameters
Source§impl Default for LocationParameters
impl Default for LocationParameters
Source§fn default() -> LocationParameters
fn default() -> LocationParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LocationParameters
impl<'de> Deserialize<'de> for LocationParameters
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 Display for LocationParameters
impl Display for LocationParameters
Source§impl PartialEq for LocationParameters
impl PartialEq for LocationParameters
Source§impl Serialize for LocationParameters
impl Serialize for LocationParameters
impl Eq for LocationParameters
impl StructuralPartialEq for LocationParameters
Auto Trait Implementations§
impl Freeze for LocationParameters
impl RefUnwindSafe for LocationParameters
impl Send for LocationParameters
impl Sync for LocationParameters
impl Unpin for LocationParameters
impl UnwindSafe for LocationParameters
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