pub struct Repository(/* private fields */);
Trait Implementations§
Source§impl Action for Repository
impl Action for Repository
Source§impl ComponentRepository for Repository
impl ComponentRepository for Repository
fn get_branch(&self) -> Option<String>
fn set_branch<S: Into<String>>(&self, v: S)
fn get_remote_name(&self) -> Option<String>
fn set_remote_name<S: Into<String>>(&self, v: S)
fn get_remote_branch(&self) -> Option<String>
fn set_remote_branch<S: Into<String>>(&self, v: S)
Source§impl Describable for Repository
impl Describable for Repository
fn get_description(&self) -> Option<String>
fn set_description<S>(&self, v: S)
Source§impl Display for Repository
impl Display for Repository
Source§impl File for Repository
impl File for Repository
fn get_filename(&self) -> Option<String>
fn set_filename<S>(&self, v: S)
Source§impl From<ReactiveEntity> for Repository
impl From<ReactiveEntity> for Repository
Source§impl GitRepository for Repository
impl GitRepository for Repository
fn get_reference_name(&self) -> Option<String>
fn exists(&self) -> bool
fn open(&self) -> Option<Repository>
fn git_fetch_and_fast_forward(&self)
fn git_fetch(&self)
fn git_fast_forward(&self)
fn git_clone(&self)
fn git_checkout(&self, branch_name: String)
Source§impl Named for Repository
impl Named for Repository
Source§impl NamespacedTypeGetter for Repository
impl NamespacedTypeGetter for Repository
Source§impl PropertyInstanceGetter for Repository
impl PropertyInstanceGetter for Repository
Source§fn get<S: Into<String>>(&self, property_name: S) -> Option<Value>
fn get<S: Into<String>>(&self, property_name: S) -> Option<Value>
Returns the json value of the given property by name
Source§fn as_bool<S: Into<String>>(&self, property_name: S) -> Option<bool>
fn as_bool<S: Into<String>>(&self, property_name: S) -> Option<bool>
Returns the boolean value of the given property by name
Source§fn as_u64<S: Into<String>>(&self, property_name: S) -> Option<u64>
fn as_u64<S: Into<String>>(&self, property_name: S) -> Option<u64>
Returns the u64 value of the given property by name
Source§fn as_i64<S: Into<String>>(&self, property_name: S) -> Option<i64>
fn as_i64<S: Into<String>>(&self, property_name: S) -> Option<i64>
Returns the i64 value of the given property by name
Source§fn as_f64<S: Into<String>>(&self, property_name: S) -> Option<f64>
fn as_f64<S: Into<String>>(&self, property_name: S) -> Option<f64>
Returns the f64 value of the given property by name
Source§fn as_string<S: Into<String>>(&self, property_name: S) -> Option<String>
fn as_string<S: Into<String>>(&self, property_name: S) -> Option<String>
Returns the string value of the given property by name
Source§impl PropertyInstanceSetter for Repository
impl PropertyInstanceSetter for Repository
Source§fn set_checked<S: Into<String>>(&self, property_name: S, value: Value)
fn set_checked<S: Into<String>>(&self, property_name: S, value: Value)
Sets the value of the given property by name if the property is mutable.
Source§fn set<S: Into<String>>(&self, property_name: S, value: Value)
fn set<S: Into<String>>(&self, property_name: S, value: Value)
Sets the value of the given property by name
Source§fn set_no_propagate_checked<S: Into<String>>(
&self,
property_name: S,
value: Value,
)
fn set_no_propagate_checked<S: Into<String>>( &self, property_name: S, value: Value, )
Sets the value of the given property by name if the property is mutable. Sends the value
down the stream.
Source§fn set_no_propagate<S: Into<String>>(&self, property_name: S, value: Value)
fn set_no_propagate<S: Into<String>>(&self, property_name: S, value: Value)
Sets the value of the given property by name. Sends the value down the stream.
Source§fn mutability<S: Into<String>>(&self, property_name: S) -> Option<Mutability>
fn mutability<S: Into<String>>(&self, property_name: S) -> Option<Mutability>
Returns the mutability of the property by name.
Source§fn set_mutability<S: Into<String>>(
&self,
property_name: S,
mutability: Mutability,
)
fn set_mutability<S: Into<String>>( &self, property_name: S, mutability: Mutability, )
Sets the mutability of the property by name.
Source§impl ReactiveInstanceGetter<ReactiveEntity> for Repository
impl ReactiveInstanceGetter<ReactiveEntity> for Repository
Source§fn get_reactive_instance(&self) -> &ReactiveEntity
fn get_reactive_instance(&self) -> &ReactiveEntity
Returns the reactive instance.
Source§impl TransferProgress for Repository
impl TransferProgress for Repository
fn received_objects(&self, v: u64)
fn total_objects(&self, v: u64)
fn received_bytes(&self, v: u64)
fn local_objects(&self, v: u64)
fn total_deltas(&self, v: u64)
fn indexed_deltas(&self, v: u64)
fn indexed_objects(&self, v: u64)
Source§impl TypeDefinitionGetter for Repository
impl TypeDefinitionGetter for Repository
Source§fn type_definition(&self) -> TypeDefinition
fn type_definition(&self) -> TypeDefinition
Returns the type definition of the type.
Auto Trait Implementations§
impl Freeze for Repository
impl !RefUnwindSafe for Repository
impl Send for Repository
impl Sync for Repository
impl Unpin for Repository
impl !UnwindSafe for Repository
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more