| csv.rs |
|
1107 |
- |
| entity.rs |
/// Constructs a new EntityTag.
/// # Panics
/// If the tag contains invalid characters.
pub fn new(weak: bool, tag: String) -> EntityTag {
assert!(check_slice_validity(&tag), "Invalid tag: {:?}", tag);
EntityTag { weak: weak, tag: tag }
}
/// Constructs a new weak EntityTag.
/// # Panics
/// If the tag contains invalid characters.
pub fn weak(tag: String) -> EntityTag {
EntityTag::new(true, tag)
}
/// Constructs a new strong EntityTag.
/// # Panics
/// If the tag contains invalid characters.
pub fn strong(tag: String) -> EntityTag {
EntityTag::new(false, tag)
}
|
10792 |
- |
| flat_csv.rs |
|
5657 |
- |
| fmt.rs |
|
299 |
- |
| http_date.rs |
|
4042 |
- |
| iter.rs |
|
255 |
- |
| mod.rs |
|
2500 |
- |
| seconds.rs |
|
1533 |
- |
| value_string.rs |
|
2587 |
- |