pub struct Builder { /* private fields */ }
Expand description
A builder for UpstreamRepositoryInfo
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn repository_name(self, input: impl Into<String>) -> Self
pub fn repository_name(self, input: impl Into<String>) -> Self
The name of an upstream repository.
sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The name of an upstream repository.
sourcepub fn build(self) -> UpstreamRepositoryInfo
pub fn build(self) -> UpstreamRepositoryInfo
Consumes the builder and constructs a UpstreamRepositoryInfo
.